Search code examples
javascriptpythonhtmlweb-scrapingtumblr

How do i load more images from a tumblr blog?


I am trying to make a script that downloads x amount of images(recent, for example), from a use specified blog. I have tried to use http://EXAMPLE-BLOG.tumblr.com/archive, which in the browser has an "infinite scroll" function. I prefer to do this in python, and i have done quite a bit of web scraping before, but i dont understand what kind of a request i can send to get more images. It does not need to use html or the archive page, if you can send me to some kind of API that does this. I have googled for a while and also searched StackOverflow, but i have been unable to find what i want. ..../archive gives 50(or 51) posts, while the RSS feed only gives around 20 posts. Is the scrolling and loading of more pictures on the website server or client side? Can i do anything by calling a javascript function for example? All help appreciated!


Solution

  • Use the Link Post on Tumblr's API or the Python module PyTumblr. But you can't bypass the API Rate Limit using normal methods.

    Other Rescources