View Single Post
Old 05-07-2023, 09:49 AM   #15
dmac
Member
dmac began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2023
Device: Kindle
Thanks unkn0wn,
Appreciate that!

The Irish Independant is working perfectly now. thank you.

On the Irish Times, some of it's articles are pay-only and require a login.
I do subscribe to it.

Looking at the original Irish Times script, instead of supplying the main page url:
self.index_to_soup('https://www.irishtimes.com/')

Would it be possibly be split it, and supply the section urls instead e.g.:

https://www.irishtimes.com/ireland/
https://www.irishtimes.com/politics/
https://www.irishtimes.com/business/
https://www.irishtimes.com/sport/

etc...

Would that work for section?

By the way, this is a nice API service called "screenshot machine".
It takes a screenshot of websites and return an image on a url call.
I use it for the daily newpapers on calibre. I just supply my own API key in the script (in custom calibre scripts.) Might be something to add to some of your scripts. Free usage too.

https://www.screenshotmachine.com/

Thank you.
dmac is offline   Reply With Quote