View Single Post
Old 11-08-2011, 04:57 PM   #1
fw190a8
Junior Member
fw190a8 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
Lightbulb Request for generic 'multiple pages' code

Being a programmer but a bit new to python and the world of feed parsing, could anybody help out with feeds that lead to stories with multiple pages? I am looking at the PC Gamer site first of all, to give you some context, and this post in particular is an example of one that has multiple pages.

Not all posts have multiple pages, and those that do, simply have 'next' buttons, rather than a full pager, so it's impossible to say from the first page how many pages are in a given article. It would be a case of saying: while (there's a 'next' button on the page) keep appending the page content and getting the next page - unfortunately my python's not good enough.

I'd like to ask for some help for a generic solution so I can adapt this for other purposes. I'll post any recipes I create using this, in case others are interested. Thanks in advance!
fw190a8 is offline   Reply With Quote