Thread
:
Proper code for fetching Print Version from WSJ and NYT?
View Single Post
12-20-2008, 01:06 PM
#
2
kiklop74
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by
brad382
Normal:
http://online.wsj.com/article/SB122973431525523215.html
Print Version:
http://online.wsj.com/article/SB1229...html#printMode
Can anyone help with the correct python code to direct it to append "#printmode" (in the case of wsj) to the end of each article's url?
Thank you.
Code:
def print_version(self, url): return url + '#printMode'
kiklop74
View Public Profile
Find More Posts by kiklop74
Track Posts by kiklop74 via RSS