Debian Codegraph @

recipes/techcrunch.recipe

raw
1 #!/usr/bin/env python
2 # vim:fileencoding=utf-8
3 from calibre.web.feeds.news import BasicNewsRecipe
4
5
6 class AdvancedUserRecipe1718089036(BasicNewsRecipe):
7 title = 'TechCrunch'
8 language = 'en'
9 __author__ = 'Spicy Poison'
10 description = 'TechCrunch is an American global online newspaper focusing on topics regarding high-tech and startup companies.'
11 publisher = 'Yahoo! Inc.'
12 oldest_article = 30
13 max_articles_per_feed = 50
14 ignore_duplicate_articles = {'title', 'url'}
15 encoding = 'utf-8'
16 masthead_url = 'https://aircoverpr.com/wp-content/uploads/2020/07/techcrunch-logo-png-4.png'
17 auto_cleanup = True
18
19 feeds = [
20 ('TechCrunch', 'https://techcrunch.com/feed/'),
21 # Categories
22 ('Apps', 'https://techcrunch.com/category/apps/feed/'),
23 ('Artificial Intelligence', 'https://techcrunch.com/category/artificial-intelligence/feed/'),
24 ('Biotech', 'https://techcrunch.com/category/biotech-health/feed/'),
25 ('Climate', 'https://techcrunch.com/category/climate/feed/'),
26 ('Commerce', 'https://techcrunch.com/category/commerce/feed/'),
27 ('Crypto', 'https://techcrunch.com/category/cryptocurrency/feed/'),
28 ('Enterprise', 'https://techcrunch.com/category/enterprise/feed/'),
29 ('Fintech', 'https://techcrunch.com/category/fintech/feed'),
30 ('Fundraising', 'https://techcrunch.com/category/fundraising/feed/'),
31 ('Gadgets', 'https://techcrunch.com/category/gadgets/feed/'),
32 ('Gaming', 'https://techcrunch.com/category/gaming/feed/'),
33 ('Hardware', 'https://techcrunch.com/category/hardware/feed/'),
34 ('Media & Entertainment', 'https://techcrunch.com/category/media-entertainment/feed/'),
35 ('Privacy', 'https://techcrunch.com/category/privacy/feed/'),
36 ('Robotics', 'https://techcrunch.com/category/robotics/feed/'),
37 ('Security', 'https://techcrunch.com/category/security/feed/'),
38 ('Social Media', 'https://techcrunch.com/category/social/feed/'),
39 ('Space', 'https://techcrunch.com/category/space/feed/'),
40 ('Startups', 'https://techcrunch.com/category/startups/feed/'),
41 ('Tech Policy & Government', 'https://techcrunch.com/category/government-policy/feed/'),
42 ('Transportation', 'https://techcrunch.com/category/transportation/feed/'),
43 ('Venture Capital', 'https://techcrunch.com/category/venture/feed/'),
44 # Tags
45 ('Amazon', 'https://techcrunch.com/tag/amazon/feed/'),
46 ('Apple', 'https://techcrunch.com/tag/apple/feed/'),
47 ('Cloud Computing', 'https://techcrunch.com/tag/cloud-computing/feed/'),
48 ('Electric Vehicles', 'https://techcrunch.com/tag/evs/feed/'),
49 ('Google', 'https://techcrunch.com/tag/google/feed/'),
50 ('Instagram', 'https://techcrunch.com/tag/instagram/feed/'),
51 ('Layoffs', 'https://techcrunch.com/tag/layoffs/feed/'),
52 ('Meta', 'https://techcrunch.com/tag/meta/feed/'),
53 ('Microsoft', 'https://techcrunch.com/tag/microsoft/feed/'),
54 ('TikTok', 'https://techcrunch.com/tag/tiktok/feed/'),
55 # Other
56 ('Events Archive', 'https://techcrunch.com/events/feed/'),
57 ]