| 1 |
#!/usr/bin/env python |
| 2 |
# vim:fileencoding=utf-8 |
| 3 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 4 |
|
| 5 |
|
| 6 |
class AdvancedUserRecipe1718126839(BasicNewsRecipe): |
| 7 |
title = 'Hot Cars' |
| 8 |
language = 'en' |
| 9 |
__author__ = 'Spicy Poison' |
| 10 |
description = ( |
| 11 |
'HotCars.com is the go-to site for enthusiasts to keep up to date on everything in the automotive industry.' |
| 12 |
' Today, they serve over 5 million readers a month with the latest auto news, car reviews, and exclusives on the car,' |
| 13 |
' pickup truck, and motorcycle industries.' |
| 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/hc-logo-full-colored-dark.svg' |
| 23 |
remove_empty_feeds = True |
| 24 |
auto_cleanup = True |
| 25 |
|
| 26 |
feeds = [ |
| 27 |
# Car Types |
| 28 |
('Fast Cars', 'https://www.hotcars.com/feed/category/fast-cars/'), |
| 29 |
('Classic Cars', 'https://www.hotcars.com/feed/tag/classic-cars/'), |
| 30 |
('Muscle Cars', 'https://www.hotcars.com/feed/category/muscle-cars/'), |
| 31 |
('Pickups & SUVs', 'https://www.hotcars.com/feed/category/pickup-trucks-suvs/'), |
| 32 |
('Electric Cars', 'https://www.hotcars.com/feed/category/electric-cars/'), |
| 33 |
('Mass Market Cars', 'https://www.hotcars.com/feed/category/mass-market-cars/'), |
| 34 |
('Luxury Cars', 'https://www.hotcars.com/feed/tag/luxury-cars/'), |
| 35 |
('Motorcycles', 'https://www.hotcars.com/feed/category/motorcycles/'), |
| 36 |
# Hot Cars Exclusives |
| 37 |
('Hot Cars Exclusives', 'https://www.hotcars.com/feed/category/hotcars-exclusives/'), |
| 38 |
('Car Reviews', 'https://www.hotcars.com/feed/category/car-reviews/'), |
| 39 |
('Car Guides', 'https://www.hotcars.com/feed/category/car-guides/'), |
| 40 |
('Car Renders', 'https://www.hotcars.com/feed/category/car-renders/'), |
| 41 |
('Hot Cars Awards', 'https://www.hotcars.com/feed/category/hotcars-awards/'), |
| 42 |
# Car Culture |
| 43 |
('News', 'https://www.hotcars.com/feed/category/news/'), |
| 44 |
('JDM Life', 'https://www.hotcars.com/feed/category/jdm-life/'), |
| 45 |
('Car TV', 'https://www.hotcars.com/feed/category/cars-on-tv/'), |
| 46 |
('Car Engines', 'https://www.hotcars.com/feed/category/car-engines/'), |
| 47 |
('Car Culture', 'https://www.hotcars.com/feed/category/car-culture/'), |
| 48 |
('Famous Collections', 'https://www.hotcars.com/feed/category/car-collections/'), |
| 49 |
('Threads', 'https://www.hotcars.com/feed/threads/'), |
| 50 |
] |