擅长:python、mysql、java
<p>根据ch3ka的反应,我想我已经成功了。从源代码我得到了java重定向,从这个重定向我可以得到数据。</p>
<pre><code>#Find source code
redirect = requests.get(url).content
#Search for the java redirect (find it in the source code)
# --> based on answer ch3ka
m = re.search(r"location.replace\(\'(.*?)\'\)", redirect).group(1)
# Now you need to create url from this redirect, and using this url get the data
data = requests.get(new_url).content
</code></pre>