From 27220db26b18062e7ef979a7b8151d8406cbdd09 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 20 Jun 2024 12:58:22 +0530 Subject: [PATCH] Update Ho to Geek and Make Use Of --- recipes/howtogeek.recipe | 27 ++++++++++++++++++++++----- recipes/make_use_of.recipe | 14 +++++++++++--- 2 files changed, 33 insertions(+), 8 deletions(-) diff --git a/recipes/howtogeek.recipe b/recipes/howtogeek.recipe index f6e42ffaee..c60ee2d90d 100644 --- a/recipes/howtogeek.recipe +++ b/recipes/howtogeek.recipe @@ -5,32 +5,42 @@ from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1716091656(BasicNewsRecipe): title = 'How-To Geek' + language = 'en' description = 'How-To Geek is an digital publication focused on technology, reaching millions of readers each month.' __author__ = 'Spicy Poison' + publisher = 'Valnet Publishing Group' encoding = 'utf-8' - language = 'en' use_embedded_content = False masthead_url = 'https://www.valnetinc.com/images/brand/htg-logo-full-colored-light.svg' no_stylesheets = True ignore_duplicate_articles = {'title', 'url'} - oldest_article = 30 - max_articles_per_feed = 100 + remove_empty_feeds = True + oldest_article = 7 + max_articles_per_feed = 50 auto_cleanup = True feeds = [ + #Desktop + ('Desktop', 'https://www.howtogeek.com/feed/category/desktop/'), ('Windows', 'https://www.howtogeek.com/feed/category/windows/'), ('Mac', 'https://www.howtogeek.com/feed/category/mac/'), ('Linux', 'https://www.howtogeek.com/feed/category/linux/'), ('Chromebook', 'https://www.howtogeek.com/feed/category/chromebook-chrome-os/'), + #Mobile + ('Mobile', 'https://www.howtogeek.com/feed/category/mobile/'), ('Android', 'https://www.howtogeek.com/feed/category/android/'), ('iOS', 'https://www.howtogeek.com/feed/tag/ios/'), ('Cellular Carriers', 'https://www.howtogeek.com/feed/category/cellular-carriers/'), + #Hardware + ('Hardware', 'https://www.howtogeek.com/feed/category/hardware/'), ('Computer Hardware', 'https://www.howtogeek.com/feed/category/hardware/'), ('Wifi & Networking', 'https://www.howtogeek.com/feed/category/wifi-routers/'), ('Smart Home', 'https://www.howtogeek.com/feed/category/smart-home/'), ('eReaders', 'https://www.howtogeek.com/feed/category/ereaders/'), ('Audio', 'https://www.howtogeek.com/feed/category/audio/'), ('Televisions', 'https://www.howtogeek.com/feed/category/tv/'), + #Web + ('Web', 'https://www.howtogeek.com/feed/category/web/'), ('Web Apps', 'https://www.howtogeek.com/feed/category/apps-web-apps/'), ('Social Media', 'https://www.howtogeek.com/feed/category/social-media/'), ('Computer History', 'https://www.howtogeek.com/feed/category/computer-history/'), @@ -38,15 +48,22 @@ class AdvancedUserRecipe1716091656(BasicNewsRecipe): ('Google', 'https://www.howtogeek.com/feed/category/google/'), ('Microsoft', 'https://www.howtogeek.com/feed/category/microsoft/'), ('Privacy & Security', 'https://www.howtogeek.com/feed/category/privacy-security/'), - ('Electric Vehicles', 'https://www.howtogeek.com/feed/category/electric-vehicles/'), + #Cutting Edge + ('Cutting Edge', 'https://www.howtogeek.com/feed/category/cutting-edge/'), ('Virtual Reality', 'https://www.howtogeek.com/feed/category/virtual-reality/'), ('AI & Machine Learning', 'https://www.howtogeek.com/feed/category/ai-machine-learning/'), - ('Cryptocurrency', 'https://www.howtogeek.com/feed/category/cryptocurrency/'), + #Lifestyle + ('Lifestyle', 'https://www.howtogeek.com/feed/category/lifestyle/'), ('Gaming', 'https://www.howtogeek.com/feed/category/video-games/'), ('Streaming', 'https://www.howtogeek.com/feed/category/cord-cutting-streaming/'), ('Photography', 'https://www.howtogeek.com/feed/category/photography/'), ('DIY', 'https://www.howtogeek.com/feed/category/diy/'), + ('Product Reviews', 'https://www.howtogeek.com/feed/category/product-reviews/'), ('Buying Guides', 'https://www.howtogeek.com/feed/buying-guides/'), ('Deals', 'https://www.howtogeek.com/feed/tag/deals/'), + + #Discontinued Feeds + #('Electric Vehicles', 'https://www.howtogeek.com/feed/category/electric-vehicles/'), + #('Cryptocurrency', 'https://www.howtogeek.com/feed/category/cryptocurrency/'), ] diff --git a/recipes/make_use_of.recipe b/recipes/make_use_of.recipe index cb1e8c5bba..50cfae3de3 100644 --- a/recipes/make_use_of.recipe +++ b/recipes/make_use_of.recipe @@ -5,40 +5,48 @@ from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1716102924(BasicNewsRecipe): title = 'Make Use of' + language = 'en' description = 'MUO is now one of the largest online technology publications that millions of readers every month turn to for expert tech guidance.' __author__ = 'Spicy Poison' + publisher = 'Valnet Publishing Group' encoding = 'utf-8' - language = 'en' use_embedded_content = False masthead_url = 'https://www.valnetinc.com/images/brand/muo-logo-full-colored-dark.svg' no_stylesheets = True ignore_duplicate_articles = {'title', 'url'} - oldest_article = 30 - max_articles_per_feed = 100 + oldest_article = 7 + max_articles_per_feed = 50 + remove_empty_feeds = True auto_cleanup = True feeds = [ + #PC & Mobile ('PC & Mobile', 'https://www.makeuseof.com/feed/category/pc-mobile/'), ('Windows', 'https://www.makeuseof.com/feed/category/windows/'), ('Mac', 'https://www.makeuseof.com/feed/category/mac/'), ('Linux', 'https://www.makeuseof.com/feed/category/linux/'), ('Android', 'https://www.makeuseof.com/feed/category/google-android/'), ('iOS', 'https://www.makeuseof.com/feed/category/ios/'), + #Internet ('Internet', 'https://www.makeuseof.com/feed/category/web-based/'), ('Social Media', 'https://www.makeuseof.com/feed/category/social-media/'), ('Security', 'https://www.makeuseof.com/feed/category/security/'), ('Programming', 'https://www.makeuseof.com/feed/category/programming/'), + #Productivity ('Productivity', 'https://www.makeuseof.com/feed/category/productivity/'), ('Creative', 'https://www.makeuseof.com/feed/category/creative/'), ('DIY', 'https://www.makeuseof.com/feed/category/diy-projects/'), + #Lifestyle ('Lifestyle', 'https://www.makeuseof.com/feed/category/lifestyle/'), ('Smart Home', 'https://www.makeuseof.com/feed/category/smart-home/'), ('Gaming', 'https://www.makeuseof.com/feed/category/games/'), ('Entertainment', 'https://www.makeuseof.com/feed/category/entertainment/'), + #Technology Explained ('Technology Explained', 'https://www.makeuseof.com/feed/category/technology-explained/'), ('Artificial Intelligence', 'https://www.makeuseof.com/feed/tag/artificial-intelligence/'), ('Tech Jargon', 'https://www.makeuseof.com/feed/tag/pc-jargon-terminology/'), ('Computer Networking', 'https://www.makeuseof.com/feed/tag/computer-networking/'), + ('Product Reviews', 'https://www.makeuseof.com/feed/category/product-reviews/'), ('Buying Guides', 'https://www.makeuseof.com/feed/category/buying-guides/'), ('Cheet Sheet', 'https://www.makeuseof.com/feed/tag/cheat-sheet/'),