Debian Codegraph @

recipes/pocket_lint.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718387215(BasicNewsRecipe):
7 title = 'Pocket-lint'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = 'Pocket-lint have been geeking out over the intersection of devices, lifestyle hardware, and entertainment news.'
11 publisher = 'Valnet Publishing Group'
12 oldest_article = 7
13 max_articles_per_feed = 50
14 no_stylesheets = True
15 use_embedded_content = False
16 ignore_duplicate_articles = {'title', 'url'}
17 encoding = 'utf-8'
18 masthead_url = 'https://www.valnetinc.com/images/brand/pl-logo-full-colored-dark.svg'
19 remove_empty_feeds = True
20 auto_cleanup = True
21
22 feeds = [
23 # Segments
24 ('Devices', 'https://www.pocket-lint.com/feed/devices-segment/'),
25 ('Entertainment', 'https://www.pocket-lint.com/feed/entertainment-segment/'),
26 ('Lifestyle', 'https://www.pocket-lint.com/feed/lifestyle-segment/'),
27 ('Audio Video', 'https://www.pocket-lint.com/feed/audio-video-segment/'),
28 # Segments
29 ('News', 'https://www.pocket-lint.com/feed/news/'),
30 ('Features', 'https://www.pocket-lint.com/feed/features/'),
31 ('Editorials', 'https://www.pocket-lint.com/feed/editorials/'),
32 ('Interviews', 'https://www.pocket-lint.com/feed/interviews/'),
33 ('Lists', 'https://www.pocket-lint.com/feed/lists/'),
34 ('Guides', 'https://www.pocket-lint.com/feed/guides/'),
35 ('Hubs', 'https://www.pocket-lint.com/feed/hubs/'),
36 # Best Products
37 ('Reviews', 'https://www.pocket-lint.com/feed/reviews/'),
38 ('Buyer’s Guides', 'https://www.pocket-lint.com/feed/buyers-guides/'),
39 ('Comparisons', 'https://www.pocket-lint.com/feed/comparisons/'),
40 ('Gift Guides', 'https://www.pocket-lint.com/feed/gift-guides/'),
41 ('Deals', 'https://www.pocket-lint.com/feed/deals/'),
42 # Topics
43 ('Apps', 'https://www.pocket-lint.com/feed/apps/'),
44 ('Augmented Reality & Virtual Reality', 'https://www.pocket-lint.com/feed/ar-vr/'),
45 ('Cameras', 'https://www.pocket-lint.com/feed/cameras/'),
46 ('Cars', 'https://www.pocket-lint.com/feed/cars/'),
47 ('Fitness Trackers', 'https://www.pocket-lint.com/feed/fitness-trackers/'),
48 ('Gadgets', 'https://www.pocket-lint.com/feed/gadgets/'),
49 ('Games', 'https://www.pocket-lint.com/feed/games/'),
50 ('Gaming Hardware', 'https://www.pocket-lint.com/feed/gaming-hardware/'),
51 ('Headphones', 'https://www.pocket-lint.com/feed/headphones/'),
52 ('Laptops', 'https://www.pocket-lint.com/feed/laptops/'),
53 ('Movies & TV', 'https://www.pocket-lint.com/feed/movies-tv/'),
54 ('Phones', 'https://www.pocket-lint.com/feed/phones/'),
55 ('Smart Home', 'https://www.pocket-lint.com/feed/smart-home/'),
56 ('Wearables', 'https://www.pocket-lint.com/feed/smartwatches/'),
57 ('Speakers', 'https://www.pocket-lint.com/feed/speakers/'),
58 ('Tablets', 'https://www.pocket-lint.com/feed/tablets/'),
59 ('TVs', 'https://www.pocket-lint.com/feed/tv/'),
60 ('Pocket-lint Awards', 'https://www.pocket-lint.com/feed/awards/'),
61 ]