02-09-2023, 02:16 PM | #1 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
Recipe request - The Economist - Search
The Economist magazine use to have a nice rss page for search topics but they did away with that a couple years ago. Now, they only have a rss page for The Print Edition and Blogs.
I was wondering if someone can create a rss page from their search page sorted by date? For example if I want to use the term "New Zealand" , the url would be this. https://www.economist.com/search?q=n...land&sort=date https://www.economist.com/search?q=new zealand&sort=date&page=1 https://www.economist.com/search?q=new zealand&sort=date&page=2 https://www.economist.com/search?q=new zealand&sort=date&page=3 https://www.economist.com/search?q=n...rt=date&page=1 https://www.economist.com/search?q=n...rt=date&page=2 https://www.economist.com/search?q=n...rt=date&page=3 I listed several sample URL links because I don't know which URL would get the most articles. term "Artificial Intelligence" https://www.economist.com/search?q=a...ence&sort=date term "Bitcoin" https://www.economist.com/search?q=bitcoin&sort=date Can we add two or more topics on 1 recipe separated by tabs? Thanks! |
05-07-2023, 01:25 PM | #2 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
re: uploaded a recipe with titles but don't know how to fetch the articles
Hello,
I uploaded an economist search recipe using the term "ChatGPT" and was able to get the titles but don't know how to fetch the "Full" article. Anybody willing to take a crack at this? Thanks and would be very much appreciated if it is possible! |
Advert | |
|
05-08-2023, 01:47 AM | #3 |
Fanatic
Posts: 562
Karma: 82944
Join Date: May 2021
Device: kindle
|
use username field for search.
|
05-08-2023, 08:08 AM | #4 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
Hello, the recipe shows that you need a login? Is that true? Just trying to determine why it doesn't work for me since I don't have a login. Thanks!
|
05-08-2023, 08:25 AM | #5 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
I managed to acquire a login and it still doesn't work. The only thing I changed according to the instructions is the username
search = self.username.replace('chatgpt', '+') |
Advert | |
|
05-08-2023, 11:47 AM | #6 |
Fanatic
Posts: 562
Karma: 82944
Join Date: May 2021
Device: kindle
|
don't edit the code.. just type your search term in the username field in fetch news section after loading the recipe.
|
05-08-2023, 12:50 PM | #7 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
Wow, it works!!! Thank you very much!!! This is a great feature!! I changed the sort order in the code to 'date' rather than 'revelance' which makes more sense to me. Again, thanks again!!
|
05-11-2023, 03:55 PM | #8 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2023
Device: none
|
I am a computer novice. Could you please advise me on where to add search terms specifically?
|
05-12-2023, 01:38 AM | #9 |
Fanatic
Posts: 562
Karma: 82944
Join Date: May 2021
Device: kindle
|
Have you ever used subscription based recipes!
after loading the recipe to custom sources, go to fetch news, select the recipe. You'll see Account (required) on the right side, type your search in the Username field there and download. |
05-12-2023, 07:50 AM | #10 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2023
Device: none
|
Thank you very much. The problem is successfully and timely solved. May you have a good day!
|
08-12-2024, 11:03 AM | #11 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
This recipe doesn't fetch the full article anymore. Maybe only 1 paragraph.
I noticed this on The Economist main rss feed too. https://www.economist.com/rss All the links only fetches the first paragraph of a news article. |
08-13-2024, 02:43 PM | #12 |
Fanatic
Posts: 562
Karma: 82944
Join Date: May 2021
Device: kindle
|
you could add code to this recipe to fetch article content from archive.is
|
08-13-2024, 10:32 PM | #13 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
Hi unk0wn, python programming is outside of my expertise. This is a recipe you created for us (see above). Thanks.
|
08-25-2024, 10:18 AM | #14 |
Fanatic
Posts: 562
Karma: 82944
Join Date: May 2021
Device: kindle
|
|
08-27-2024, 10:14 AM | #15 |
Connoisseur
Posts: 53
Karma: 16
Join Date: Feb 2015
Device: Kindle Paperwhite
|
Tried the new recipe. Edited the search options on line 226 for text search, line 231 for sort and line 236 for number of pages. Works well. Thank you!
|
Tags |
economist, recipe, rss, search |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Request: The Economist Espresso Recipe | EddyNottingham | Recipes | 6 | 04-25-2022 12:06 AM |
Request for The Economist Explains and debates | Nishant Thakur | Recipes | 0 | 01-12-2017 10:41 AM |
The Economist Recipe | NSILMike | Recipes | 6 | 05-20-2016 08:40 AM |
Economist recipe... | RobbieW | Recipes | 2 | 10-03-2013 06:01 PM |
Economist recipe | jdomingos76 | Recipes | 1 | 03-08-2011 09:33 AM |