Proper code for fetching Print Version from WSJ and NYT?
Hello,
The calibre User's Manual offers an example on modifying the url to fetch the Print Version of some bbc articles. I would like to accomplish the same thing with WSJ and NYT Business articles.
In the case of the bbc website, the Print Version differs from the normal url with a particular prefix, as shown in the User's Manual example.
However, with the wsj and nyt sites, the Print Version requires a suffix to the normal url, here illustrated with an example from the wsj:
Normal:
http://online.wsj.com/article/SB122973431525523215.html
Print Version: http://online.wsj.com/article/SB122973431525523215.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.
|