Hi everyone,
Any idea how to adapt Kovid Goyal's NYT recipe (
https://github.com/kovidgoyal/calibr...nytimes.recipe) to fetch
https://www.nytimes.com/es/ for which the NYT unfortunately doesn't offer neither an RSS feed nor NYT section, in other words, simply adding
Code:
[('Spanish', 'es')]
to Kovid Goyal's NYT recipe's oject
, namely
Code:
web_sections = [('Spanish', 'es')]
obviously doesn't fetch the news from
https://www.nytimes.com/es/ because line 297 of Kovid Goyal's NYT recipe reads
Code:
url = 'https://www.nytimes.com/section/' + slug
hence, expects either a NYT RSS feed or NYT section, whereas the news in spanish from the NYT are not located as
Code:
https://www.nytimes.com/section/es
but as
Code:
https://www.nytimes.com/es
Btw, NYT does offer to deliver their news in spanish if users suscribe to "El Times" by entering an email. The new task would be to convert NYt's spanish news delivered by email with calibre. Would that be easier?
Thanks in advance for your feedback.