View Single Post
Old 11-07-2021, 10:18 PM   #1
pkarin77
Junior Member
pkarin77 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite
Post No images from rss custom news recipe PostToday.com

I try to download news article by create custom news source from Calibre to read on my Kindle

https://www.posttoday.com/rss/src/lifestyle.xml

But no images download from this article

https://www.posttoday.com/life/work-life-balance/667514

Anyone know how can I fix this problem?

This is my recipe


#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1636337159(BasicNewsRecipe):
title = 'Post Today News'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
compress_news_images = True

feeds = [
('Breaking News', 'https://www.posttoday.com/rss/src/breakingnews.xml'),
('เศรษฐกิจ-ธุรกิจ', 'https://www.posttoday.com/rss/src/economy.xml'),
('การเงิน-หุ้น', 'https://www.posttoday.com/rss/src/money.xml'),
('การเมือง', 'https://www.posttoday.com/rss/src/politics.xml'),
('รอบโลก', 'https://www.posttoday.com/rss/src/world.xml'),
('บ้าน-คอนโด', 'https://www.posttoday.com/rss/src/property.xml'),
('อาเซียน', 'https://www.posttoday.com/rss/src/aec.xml'),
('กีฬา', 'https://www.posttoday.com/rss/src/sport.xml'),
('บันเทิง', 'https://www.posttoday.com/rss/src/entertainment.xml'),
('ไลฟ์สไตล์', 'https://www.posttoday.com/rss/src/lifestyle.xml'),
('สังคม', 'https://www.posttoday.com/rss/src/social.xml'),
('ธรรมะ-จิตใจ', 'https://www.posttoday.com/rss/src/dhamma.xml'),
('ประชาสัมพันธ์', 'https://www.posttoday.com/rss/src/pr.xml'),
]
pkarin77 is offline   Reply With Quote