Quote:
Originally Posted by TonytheBookworm
Wow!!!! This is confusing to say the least... On the page I'm trying to work on howstuffworks the next page sometimes is in pagination other times in top10pagnation (why the heck can't they stay consistent and make my life easier). Anyway, can one of you take at look at http://feeds.feedburner.com/Howstuff...ffDailyRssFeed and tell me how you would solve the multipage issue where the next page doesn't always fall under the same tag structure.
thanks 
|
Is there any reason you can't do something like this to find both:
Code:
soup.find('div',attrs={'class':['pagination', 'top10pagnation']})