작성
·
306
0
print(player_info)를 출력해 보니, 빈 리스트([])가 출력됩니다.
참고로, r.status_code를 출력해 보면 200이 아닌 404가 출력되고, print(soup)을 출력해 보면 아래와 같이 내용이 출력됩니다.
!DOCTYPE html> <html class="no-js" lang="en"> <head> <script type="text/javascript"> !function () { var e = function () { var e, t = "__tcfapiLocator", a = [], n = window; for (; n;) { try { if (n.frames[t]) { e = n; break } } catch (e) { } if (n === window.top) break; n = n.parent } e || (!function e() { var a = n.document, r = !!n.frames[t]; if (!r) if (a.body) { var i = a.createElement("iframe"); i.style.cssText = "display:none", i.name = t, a.body.appendChild(i) } else setTimeout(e, 5); return !r }(), n.__tcfapi = function () { for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++)n[r] = arguments[r]; if (!n.length) return a; if ("setGdprApplies" === n[0]) n.length > 3 && 2 === parseInt(n[1], 10) && "boolean" == typeof n[3] && (e = n[3], "function" == typeof n[2] && n[2]("set", !0)); else if ("ping" === n[0]) { var i = { gdprApplies: e, cmpLoaded: !1, cmpStatus: "stub" }; "function" == typeof n[2] && n[2](i) } else a.push(n) }, n.addEventListener("message", (function (e) { var t = "string" == typeof e.data, a = {}; try { a = t ? JSON.parse(e.data) : e.data } catch (e) { } var n = a.__tcfapiCall; n && window.__tcfapi(n.command, n.version, (function (a, r) { var i = { __tcfapiReturn: { returnValue: a, success: r, callId: n.callId } }; t && (i = JSON.stringify(i)), e.source.postMessage(i, "*") }), n.parameter) }), !1)) }; "undefined" != typeof module ? module.exports = e : e() }(); </script> <script> window._sp_ = { config: {"accountId":1254,"propertyId":7427,"baseEndpoint":"https://cdn.privacy-mgmt.com"}} </script> <script src="https://cdn.privacy-mgmt.com/wrapperMessagingWithoutDetection.js"></script> <meta charset="utf-8"/> <meta content="IE=edge" http-equiv="x-ua-compatible"/> <meta content="telephone=no" name="format-detection"/> <meta content="#1a3151" name="theme-color"> <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"/> <link href="/favicon-16x16.png" rel="shortcut icon" sizes="16x16"/> <link href="/android-chrome-192x192.png" rel="shortcut icon" sizes="192x192"/> <link href="/apple-touch-icon-152x152.png" rel="apple-touch-icon-precomposed"/> <meta content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=no" name="viewport"> <meta content="article" property="og:type"/> <meta content="https://tmssl.akamaized.net/images/tm_logo.png" property="og:image"/> <meta content="" property="og:description"/> <meta content="Error" property="og:title"/> <meta content="https://www.transfermarkt.com/spieler-statistik/wertvollstespieler/marktwertetop%20" property="og:url"/> <link href="https://www.transfermarkt.de" hreflang="de" rel="alternate"> <link href="https://www.transfermarkt.de" hreflang="de-LU" rel="alternate"> <link href="https://www.transfermarkt.at" hreflang="de-AT" rel="alternate"> <link href="https://www.transfermarkt.ch" hreflang="de-CH" rel="alternate"/> <link href="https://www.transfermarkt.com.tr" hreflang="tr" rel="alternate"/> <link href="https://www.transfermarkt.it" hreflang="it-CH" rel="alternate"/> <link href="https://www.transfermarkt.it" hreflang="it" rel="alternate"/> <link href="https://www.transfermarkt.pl" hreflang="pl" rel="alternate"/> <link href="https://www.transfermarkt.co.uk" hreflang="en-GB" rel="alternate"/> <link href="https://www.transfermarkt.co.uk" hreflang="en-IE" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es-ES" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es-CL" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es-VE" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es-PE" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es-EC" rel="alternate"/> <link href="https://www.transfermarkt.es" hreflang="es-CU" rel="alternate"/> <link href="https://www.transfermarkt.nl" hreflang="nl" rel="alternate"/> <link href="https://www.transfermarkt.pt" hreflang="pt" rel="alternate"/> <link href="https://www.transfermarkt.ru" hreflang="ru" rel="alternate"/> <link href="https://www.transfermarkt.fr" hreflang="fr-CH" rel="alternate"/> <link href="https://www.transfermarkt.fr" hreflang="fr" rel="alternate"/> <link href="https://www.transfermarkt.fr" hreflang="fr-CA" rel="alternate"/> <link href="https://www.transfermarkt.fr" hreflang="fr-CI" rel="alternate"/> <link href="https://www.transfermarkt.fr" hreflang="fr-LU" rel="alternate"/> <link href="https://www.transfermarkt.fr" hreflang="fr-BE" rel="alternate"/> <link href="https://www.transfermarkt.com.br" hreflang="pt-BR" rel="alternate"/> <link href="https://www.transfermarkt.us" hreflang="en-US" rel="alternate"/> <link href="https://www.transfermarkt.us" hreflang="en-CA" rel="alternate"/> <link href="https://www.transfermarkt.co.in" hreflang="en-IN" rel="alternate"/> <link href="https://www.transfermarkt.co.za" hreflang="en-ZA" rel="alternate"/> <link href="https://www.transfermarkt.com" hreflang="x-default" rel="alternate"/> <link href="https://www.transfermarkt.com" hreflang="en" rel="alternate"/> <link href="https://www.transfermarkt.be" hreflang="nl-BE" rel="alternate"/> <link href="https://www.transfermarkt.com.ar" hreflang="es-AR" rel="alternate"/> <link href="https://www.transfermarkt.mx" hreflang="es-MX" rel="alternate"/> <link href="https://www.transfermarkt.co" hreflang="es-CO" rel="alternate"/> <link href="https://www.transfermarkt.my" hreflang="ms" rel="alternate"/> <link href="https://www.transfermarkt.jp" hreflang="ja" rel="alternate"/> <link href="https://www.transfermarkt.co.id" hreflang="id" rel="alternate"/> <link href="https://tmssl.akamaized.net/css/stylesheets/menue.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/stylesheets/tm-grid.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/stylesheets/main.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/styles/tm-main.css?lm=1634216104" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/assets/b7c5571cf8957553f95f6d9069eaed67/jui/css/base/jquery-ui.css?lm=1634216162" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/stylesheets/main_desktop.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/sprite-main.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/chosen.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/jquery-ui-1.10.4.custom.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/jquery-ui-1.10.4.tm-theme.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/stylesheets/main_werbung.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/shortclasses.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/print.css?_sn=1?lm=1634216161" media="print" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/desktop.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/domainspezifisch/desktop-com.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/css/error-site.css?lm=1634216161" rel="stylesheet" type="text/css"/> <link href="https://tmssl.akamaized.net/assets/bdb39bc7538f732f9833170435d23c28/css/tooltipster.css?lm=1634216162" rel="stylesheet" type="text/css"/> <script src="https://tmssl.akamaized.net/js/vendor/jquery.min.js?lm=1634216153" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/localStorage.js?lm=1634216153" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/foundation.js?lm=1634216154" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/main.js?lm=1634216154" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/jquery-ui-1.10.4.custom.min.js?lm=1634216154" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/clipboard.min.js?lm=1634216153" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/chosen.ajaxaddition.jquery.js?lm=1634216154" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/functions.js?lm=1634216153" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/main_desktop.js?lm=1634216154" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/js/chosen.jquery.js?lm=1634216154" type="text/javascript"></script> <script src="https://tmssl.akamaized.net/assets/bdb39bc7538f732f9833170435d23c28/js/jquery.tooltipster.js?lm=1634216162" type="text/javascript"></script> <title>Error | Transfermarkt</title> <script src="https://tmsi.akamaized.net/js/globals/tm-global-elements.esm.js" type="module"> /*<![CDATA[*/ /*]]>*/ </script><script nomodule="" src="https://tmsi.akamaized.net/js/globals/tm-global-elements.js" type="text/javascript"> /*<![CDATA[*/ /*]]>*/ </script> <script type="text/javascript"> tmData = { loggedIn : "0", tmTraffic: "0", }; </script> <script>// Set to the same value as the web property used on the site var gaProperty = 'UA-3816204-13'; // Disable tracking if the opt-out cookie exists. var disableStr = 'ga-disable-' + gaProperty; if (document.cookie.indexOf(disableStr + '=true') > -1) { window[disableStr] = true; } // Opt-out function function gaOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; }</script> <script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-3816204-13"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('set', 'linker', { 'domains': [/^transfermarkt\.(com|de|nl|it|at|ch|es|fr|com\.tr|pt|tv|pl|co\.uk)$/]}); gtag('js', new Date()); gtag('set', { 'custom_map': {