![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2023
Device: Kobo Libra H2O
|
Saturday Paper Recipe - Cover Image
Hi all,
I am using the inbuilt recipe for "The Saturday Paper" which is working well, but am wondering if anyone is able to figure out how to add the paper covers as an the news cover : Paper cover editions are shown at link below, but there doesn't seem to be any consistency in their naming or styles,however there is some consistency in the "title" tag associated with the image : https://www.thesaturdaypaper.com.au/..._image/public/ |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 616
Karma: 85520
Join Date: May 2021
Device: kindle
|
Code:
def get_cover_url(self): soup = self.index_to_soup('https://www.thesaturdaypaper.com.au/editions/') div = soup.find('div', attrs={'class':'article__image'}) return div.img['src'] |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I get metadata from cover image? The image is correct but all other data is wrong | mydjtl | Library Management | 1 | 12-14-2017 05:15 PM |
Cover image isn't displaying as cover image | Eugene88 | Sigil | 3 | 08-15-2012 04:05 PM |
Improving derStandard-recipe - how to get cover image? | Spindoctor | Recipes | 7 | 05-09-2012 12:57 PM |
Script to scrape page for a cover image for recipe? | adoucette | Recipes | 12 | 02-29-2012 06:24 PM |