Debian Codegraph @

recipes/xda.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718385916(BasicNewsRecipe):
7 title = 'XDA'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = (
11 'XDA cover all aspects of computing, including desktops, laptops, PC components,'
12 ' gaming handhelds, peripherals, emerging technologies like AI/VR, and the software that powers it all.'
13 )
14 publisher = 'Valnet Publishing Group'
15 oldest_article = 7
16 max_articles_per_feed = 50
17 no_stylesheets = True
18 use_embedded_content = False
19 ignore_duplicate_articles = {'title', 'url'}
20 encoding = 'utf-8'
21 masthead_url = 'https://www.valnetinc.com/images/brand/xda-logo-full-colored-dark.svg'
22 remove_empty_feeds = True
23 auto_cleanup = True
24
25 feeds = [
26 # News & Deals
27 ('News', 'https://www.xda-developers.com/feed/news/'),
28 ('Computing News', 'https://www.xda-developers.com/feed/category/computing-news/'),
29 ('Today’s Deals', 'https://www.xda-developers.com/feed/deals/'),
30 # Reviews
31 ('Reviews', 'https://www.xda-developers.com/feed/reviews/'),
32 ('Laptop Reviews', 'https://www.xda-developers.com/feed/category/computing-reviews/'),
33 ('CPU Reviews', 'https://www.xda-developers.com/feed/cpu-reviews/'),
34 ('Graphics Card Reviews', 'https://www.xda-developers.com/feed/graphics-card-reviews/'),
35 ('SSD Reviews', 'https://www.xda-developers.com/feed/ssd-reviews/'),
36 ('Phone Reviews', 'https://www.xda-developers.com/feed/phone-reviews/'),
37 ('XDA’s Product Review Awards', 'https://www.xda-developers.com/feed/awards/'),
38 # Best Guides
39 ("Buyer's Guides", 'https://www.xda-developers.com/feed/buying-guides/'),
40 # Tutorials
41 ('Tutorials', 'https://www.xda-developers.com/feed/tutorials/'),
42 ('Windows Tutorials', 'https://www.xda-developers.com/feed/windows-tutorials/'),
43 ('MacOS Tutorials', 'https://www.xda-developers.com/feed/macos-tutorials/'),
44 ('Linux Tutorials', 'https://www.xda-developers.com/feed/linux-tutorials/'),
45 ('ChromeOS Tutorials', 'https://www.xda-developers.com/feed/chromeos-tutorials/'),
46 ('Computing', 'https://www.xda-developers.com/feed/category/computing/'),
47 ('Acer', 'https://www.xda-developers.com/feed/tag/acer/'),
48 ('Apple Mac', 'https://www.xda-developers.com/feed/apple-mac/'),
49 ('Dell', 'https://www.xda-developers.com/feed/tag/dell/'),
50 ('HP', 'https://www.xda-developers.com/feed/tag/hp/'),
51 ('Lenovo', 'https://www.xda-developers.com/feed/tag/lenovo/'),
52 ('Microsoft', 'https://www.xda-developers.com/feed/tag/microsoft/'),
53 ('Razer', 'https://www.xda-developers.com/feed/tag/razer/'),
54 ]