mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1303331 [News source "NRC Handelsblad" nrc-nl-epub.recipe download URL changed](https://bugs.launchpad.net/calibre/+bug/1303331)
This commit is contained in:
parent
16891b7f47
commit
3047b30f23
@ -42,7 +42,7 @@ class NRCHandelsblad(BasicNewsRecipe):
|
||||
raise ValueError('Failed to login, check username and password')
|
||||
epubraw = None
|
||||
for today in (date.today(), date.today() - timedelta(days=1),):
|
||||
url = 'http://digitaleeditie.nrc.nl/digitaleeditie/NH/%s/1/%s___/downloads.html' % (today.strftime('%Y'), today.strftime('%Y%m%d'))
|
||||
url = 'http://digitaleeditie.nrc.nl/digitaleeditie/NH/%s/3/%s___/downloads.html' % (today.strftime('%Y'), today.strftime('%Y%m%d'))
|
||||
self.log('Trying to download epub from:', url)
|
||||
br.start_load(url, timeout=60)
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user