I have this url:
* http://animexx.onlinewelten.com/cosplay ... 6/#seite=0
At the bottom of the page, there is a little gallery with 15 of total 21 photos. I want to download all those and also those on the next page.
So when I click the link for page 2 (in my browser), I will reach the following url:
* http://animexx.onlinewelten.com/cosplay ... 6/#seite=1
It is the same url, only with something added at the end. There, I can see the last 6 photos of this gallery (in my browser). So far, so very good.
Only thing, when I try to fetch the exact same urls via urllib2.urlopen, I always get the contents of the first page, no matter which page I open:
- Code: Select all
>>> from urllib2 import urlopen
>>> url1 = "http://animexx.onlinewelten.com/cosplay/mitglied/6125/order_1_0/4336/#seite=0"
>>> url2 = "http://animexx.onlinewelten.com/cosplay/mitglied/6125/order_1_0/4336/#seite=1"
>>> url1 == url2
>>> urlopen(url1).read() == urlopen(url2).read()
What is happening there? I can see a little turning Icon quickly (in my browser, when clicking the gallery page numbers). Maybe there is some dynamic refresh or something?! How can python grasp this?