Debian Codegraph @

recipes/android_police.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718384518(BasicNewsRecipe):
7 title = 'Android Police'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = (
11 'Android Police reports on Android, yes — news, reviews, how-to and buyers’ guides —'
12 ' but they also cover the broader mobile industry, including tablets, wearables, personal audio,'
13 ' the smart home, and how politics and regulation shape the way they use those products.'
14 )
15 publisher = 'Valnet Publishing Group'
16 oldest_article = 7
17 max_articles_per_feed = 50
18 no_stylesheets = True
19 use_embedded_content = False
20 ignore_duplicate_articles = {'title', 'url'}
21 encoding = 'utf-8'
22 masthead_url = 'https://www.valnetinc.com/images/brand/ap-logo-full-colored-dark.svg'
23 remove_empty_feeds = True
24 auto_cleanup = True
25
26 feeds = [
27 # Phones
28 ('Phones', 'https://www.androidpolice.com/feed/phones/'),
29 ('News about Phones', 'https://www.androidpolice.com/feed/phones-news/'),
30 ('Guides about Phones', 'https://www.androidpolice.com/feed/phones-guide/'),
31 ('Phones Features', 'https://www.androidpolice.com/feed/phones-features/'),
32 ('Phones & Accessory Reviews', 'https://www.androidpolice.com/feed/phones-reviews/'),
33 # Google
34 ('Google', 'https://www.androidpolice.com/feed/google/'),
35 ('News about Google', 'https://www.androidpolice.com/feed/news-google/'),
36 ('Google Applications', 'https://www.androidpolice.com/feed/tag/google-app/'),
37 ('Guides about Google', 'https://www.androidpolice.com/feed/guides-google/'),
38 ('Features about Google', 'https://www.androidpolice.com/feed/features-google/'),
39 # Operating Systems
40 ('Operating Systems', 'https://www.androidpolice.com/feed/operating-systems/'),
41 ('News about Operating Systems', 'https://www.androidpolice.com/feed/news-operating-systems/'),
42 ('Guides about Operating Systems', 'https://www.androidpolice.com/feed/guides-operating-systems/'),
43 ('Features on Operating Systems', 'https://www.androidpolice.com/feed/features-operating-systems/'),
44 # Chromebooks
45 ('Chromebooks', 'https://www.androidpolice.com/feed/laptops/'),
46 ('News about Chromebooks', 'https://www.androidpolice.com/feed/news-chromebooks/'),
47 ('Guides about Chromebooks', 'https://www.androidpolice.com/feed/guides-chromebooks/'),
48 ('Chromebook & Laptop Reviews', 'https://www.androidpolice.com/feed/reviews-chromebooks/'),
49 # Gadgets
50 ('Gadgets', 'https://www.androidpolice.com/feed/gadgets/'),
51 ('Smartwatches & Wearables', 'https://www.androidpolice.com/feed/wearables/'),
52 ('Audio', 'https://www.androidpolice.com/feed/tag/audio/'),
53 ('Accessories', 'https://www.androidpolice.com/feed/accessories/'),
54 ('Smart Home', 'https://www.androidpolice.com/feed/smart-home/'),
55 ('Applications & Games', 'https://www.androidpolice.com/feed/applications-games/'),
56 # Reviews
57 ('Reviews', 'https://www.androidpolice.com/feed/reviews/'),
58 ('Phones & Accessory Reviews', 'https://www.androidpolice.com/feed/phones-reviews/'),
59 ('Smartwatch & Wearable Reviews', 'https://www.androidpolice.com/feed/wearable-reviews/'),
60 ('Tablet Reviews', 'https://www.androidpolice.com/feed/tablet-reviews/'),
61 ('Headphones & Earbuds Reviews', 'https://www.androidpolice.com/feed/audio-reviews/'),
62 ('Smart Home & Smart TV Reviews', 'https://www.androidpolice.com/feed/smart-home-reviews/'),
63 ('Android Police’s Product Review Awards', 'https://www.androidpolice.com/feed/awards/'),
64 ('Buyer’s Guides', 'https://www.androidpolice.com/feed/the-best/'),
65 ]