Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

WSJ changed print edition url

$
0
0
Hey guys I'm working with the wall street journal prebuilt recipe and the url format for the print edition changed by adding in today's date for the print edition. Previously it was

WSJ_ITP = 'https://www.wsj.com/print-edition/today'

They have changed it from "/today" to the days date "yearmonthday" (20210120) so the new url is https://www.wsj.com/print-edition/20210120

If I manually customize the recipe I can get the print edition to download correctly but that requires me to update the script every night manually with the next day's date to run in the morning. How can I automate this for the script to automatically put in today's date?

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images