Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 07-24-2020, 04:12 AM   #1
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Reuters

Has anyone ever tackled the Reuters website as a recipe???

If not, can anyone give me a start on how to go about it?

https://www.reuters.com/
rasteps is offline   Reply With Quote
Old 07-24-2020, 05:32 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Find an rss feed or an index page and get the list of articles to download from that. Then add the needed keep-only_tags and remove_tags to get rid of the cruft from the downloaded articles.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-24-2020, 05:34 AM   #3
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
It seems that Reuters no longer publishes its RSS feed.
rasteps is offline   Reply With Quote
Old 07-24-2020, 08:43 AM   #4
Parisien
Member
Parisien began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2011
Device: Kindle
I used to get the Reuters News every day from here, but about a month ago it started failing with the message: <urlopen error [Errno 11001] getaddrinfo failed>

Any help to get it back would be much appreciated.
Parisien is offline   Reply With Quote
Old 07-24-2020, 09:38 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by rasteps View Post
It seems that Reuters no longer publishes its RSS feed.
Then you need to find some page that lists current articles.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-31-2020, 07:23 AM   #6
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Quote:
Originally Posted by kovidgoyal View Post
Then you need to find some page that lists current articles.
Unfortunately, I've only been able to get their front page so far.
rasteps is offline   Reply With Quote
Old 08-05-2020, 06:43 PM   #7
duluoz
Newsbeamer dev
duluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheese
 
Posts: 123
Karma: 1000
Join Date: Dec 2011
Device: Kindle Voyage
Hey rasteps. Yes, unfortunately Reuters cancelled their RSS feeds last month. Somebody has managed to use Google News to get one working again though, so its easy to build a recipe around that. Link is below - but this is a workaround so dont expect it to work forever.

https://news.google.com/rss/search?q...hl=en-US&gl=US
duluoz is offline   Reply With Quote
Old 08-05-2020, 10:44 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by rasteps View Post
Unfortunately, I've only been able to get their front page so far.
They have per section pages as well, you would need to write a parse_index function in your recipe that extracts articles from these.
kovidgoyal is offline   Reply With Quote
Old 08-09-2020, 08:32 AM   #9
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Quote:
Originally Posted by duluoz View Post
Hey rasteps. Yes, unfortunately Reuters cancelled their RSS feeds last month. Somebody has managed to use Google News to get one working again though, so its easy to build a recipe around that. Link is below - but this is a workaround so dont expect it to work forever.

https://news.google.com/rss/search?q...hl=en-US&gl=US
That's quite ingenious!!!
rasteps is offline   Reply With Quote
Old 08-09-2020, 08:34 AM   #10
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Quote:
Originally Posted by kovidgoyal View Post
They have per section pages as well, you would need to write a parse_index function in your recipe that extracts articles from these.
I'm not quite that advanced yet. I was just trying to fix the Japanese Reuters newsfeed. I have managed to get a different newsfeed from NHK (the Japanese public broadcasting network), but I can't figure out how to schedule the downloads.
rasteps is offline   Reply With Quote
Old 08-09-2020, 10:59 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I had 20 minutes so here you go: https://github.com/kovidgoyal/calibr...4b23eee3b91b96
kovidgoyal is offline   Reply With Quote
Old 08-12-2020, 07:32 AM   #12
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Quote:
Originally Posted by kovidgoyal View Post
Thanks. I'll give it a whirl.
rasteps is offline   Reply With Quote
Old 08-14-2020, 06:59 PM   #13
duluoz
Newsbeamer dev
duluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheeseduluoz can extract oil from cheese
 
Posts: 123
Karma: 1000
Join Date: Dec 2011
Device: Kindle Voyage
Quote:
Originally Posted by kovidgoyal View Post
Works perfectly
duluoz is offline   Reply With Quote
Old 09-04-2020, 11:37 AM   #14
noob12345
Junior Member
noob12345 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Kobo
Quote:
Originally Posted by kovidgoyal View Post
Sorry, I am new to this. So, how should I use this? Should I update Calibre? Or I need to do something else?

For your info, I still cant get Reuters from Calibre.
noob12345 is offline   Reply With Quote
Old 10-10-2020, 02:13 PM   #15
rasteps
Zealot
rasteps began at the beginning.
 
Posts: 137
Karma: 10
Join Date: Sep 2010
Device: Kindle, Android phone
Quote:
Originally Posted by kovidgoyal View Post
I finally got around to trying this recipe, and it works for the section headings, but the articles do not come with them. Thanks for taking the time to write this up though.
rasteps is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reuters (en) recipe help BRGriff Recipes 3 11-29-2013 12:00 PM
Reuters Finance? Market news fdfortier Recipes 1 03-12-2012 11:25 AM
Reuters: HP should reconsider dumping TouchPad kjk News 11 09-16-2011 01:48 PM
Request: Multipage recipe for Reuters wutangmark Recipes 1 12-31-2010 08:24 PM
Reuters to offer podcasts Alexander Turcic Lounge 0 09-21-2005 08:53 AM


All times are GMT -4. The time now is 01:15 PM.


MobileRead.com is a privately owned, operated and funded community.