This commit is contained in:
Kovid Goyal 2016-10-07 19:37:24 +05:30
commit 6c292a0f98
8 changed files with 105 additions and 74 deletions

View File

@ -26,13 +26,17 @@ class AirForceTimes(BasicNewsRecipe):
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('Home','http://feeds.feedburner.com/rss/category/air-home?format=xml'),
('News', 'http://www.airforcetimes.com/rss_news.php'), ('Health Benefits','http://feeds.feedburner.com/rss/category/air-healthbenefits?format=xml'),
('Benefits', 'http://www.airforcetimes.com/rss_benefits.php'), ('Retirement Benefits','http://feeds.feedburner.com/rss/category/air-retirementbenefits?format=xml'),
('Money', 'http://www.airforcetimes.com/rss_money.php'), ('Veterans Benefits','http://feeds.feedburner.com/rss/category/air-VeteransBenefits?format=xml'),
('Careers & Education', 'http://www.airforcetimes.com/rss_careers.php'), ('Education Benefits','http://feeds.feedburner.com/rss/category/air-educationbenefits?format=xml'),
('Community', 'http://www.airforcetimes.com/rss_community.php'), ('Adventure','http://feeds.feedburner.com/rss/category/air-adventure?format=xml'),
('Off Duty', 'http://www.airforcetimes.com/rss_off_duty.php'), ('Entertainment','http://feeds.feedburner.com/rss/category/air-Entertainment?format=xml'),
('Entertainment', 'http://www.airforcetimes.com/rss_entertainment.php'), ('Careers','http://feeds.feedburner.com/rss/category/air-careers?format=xml'),
('Guard & Reserve', 'http://www.airforcetimes.com/rss_guard.php'), ('Technology','http://feeds.feedburner.com/rss/category/air-technology?format=xml'),
('Opinion','http://feeds.feedburner.com/rss/category/air-opinion?format=xml'),
('Pay','http://feeds.feedburner.com/rss/category/air-pay?format=xml'),
('Guard','http://feeds.feedburner.com/rss/category/air-guard?format=xml'),
('Your Air Force','http://feeds.feedburner.com/rss/category/air-yourairforce?format=xml'),
] ]

View File

@ -44,7 +44,7 @@ class AlJazeera(BasicNewsRecipe):
] ]
feeds = [(u'Al Jazeera English', feeds = [(u'Al Jazeera English',
u'http://english.aljazeera.net/Services/Rss/?PostingId=2007731105943979989')] u'http://www.aljazeera.com/xml/rss/all.xml')]
def get_article_url(self, article): def get_article_url(self, article):
artlurl = article.get('link', None) artlurl = article.get('link', None)

View File

@ -62,16 +62,36 @@ class AdvancedUserRecipe1307301031(BasicNewsRecipe):
] ]
feeds = [ feeds = [
(u'FrontPage', u'http://www.azcentral.com/rss/feeds/republicfront.xml'), ('Local', 'http://rssfeeds.azcentral.com/phoenix/local'),
(u'TopUS-News', u'http://hosted.ap.org/lineups/USHEADS.rss?SITE=AZPHG&SECTION=HOME'), ('Nation', 'http://rssfeeds.azcentral.com/phoenix/nation'),
(u'WorldNews', u'http://hosted.ap.org/lineups/WORLDHEADS.rss?SITE=AZPHG&SECTION=HOME'), ('Business', 'http://rssfeeds.azcentral.com/phoenix/business'),
(u'TopBusiness', u'http://hosted.ap.org/lineups/BUSINESSHEADS.rss?SITE=AZPHG&SECTION=HOME'), ('Politics', 'http://rssfeeds.azcentral.com/phoenix/politics'),
(u'Entertainment', u'http://hosted.ap.org/lineups/ENTERTAINMENT.rss?SITE=AZPHG&SECTION=HOME'), ('Fact check', 'http://rssfeeds.azcentral.com/phoenix/fact-check'),
(u'ArizonaNews', u'http://www.azcentral.com/rss/feeds/news.xml'), ('Opinions', 'http://rssfeeds.azcentral.com/phoenix/opinions'),
(u'Gilbert', u'http://www.azcentral.com/rss/feeds/gilbert.xml'), ('Things to Do', 'http://rssfeeds.azcentral.com/phoenix/thingstodo'),
(u'Chandler', u'http://www.azcentral.com/rss/feeds/chandler.xml'), ('Events', 'http://rssfeeds.azcentral.com/phoenix/events'),
(u'DiningReviews', u'http://www.azcentral.com/rss/feeds/diningreviews.xml'), ('Dining', 'http://rssfeeds.azcentral.com/phoenix/dining'),
(u'AZBusiness', u'http://www.azcentral.com/rss/feeds/business.xml'), ('Movies & TV', 'http://rssfeeds.azcentral.com/phoenix/moviesandtv'),
(u'ArizonaDeals', u'http://www.azcentral.com/members/Blog%7E/RealDealsblog'), ('Kids', 'http://rssfeeds.azcentral.com/phoenix/kids'),
(u'GroceryDeals', u'http://www.azcentral.com/members/Blog%7E/RealDealsblog/tag/2646') ('Arts', 'http://rssfeeds.azcentral.com/phoenix/arts'),
('Music', 'http://rssfeeds.azcentral.com/phoenix/music'),
('Celebrities', 'http://rssfeeds.azcentral.com/phoenix/celebrities'),
('Travel & Explore', 'http://rssfeeds.azcentral.com/phoenix/travelandexplore'),
('Arizona History', 'http://rssfeeds.azcentral.com/phoenix/az-history'),
('Sports', 'http://rssfeeds.azcentral.com/phoenix/sports'),
('Suns', 'http://rssfeeds.azcentral.com/phoenix/suns'),
('Diamondbacks', 'http://rssfeeds.azcentral.com/phoenix/diamondbacks'),
('Coyotes', 'http://rssfeeds.azcentral.com/phoenix/coyotes'),
('ASU', 'http://rssfeeds.azcentral.com/phoenix/asu'),
('UA', 'http://rssfeeds.azcentral.com/phoenix/ua'),
('High School Sports', 'http://rssfeeds.azcentral.com/high-school-sports'),
('Chandler', 'http://rssfeeds.azcentral.com/phoenix/chandler'),
('Gilbert', 'http://rssfeeds.azcentral.com/phoenix/gilbert'),
('Glendale & Peoria', 'http://rssfeeds.azcentral.com/phoenix/glendaleandpeoria'),
('Mesa', 'http://rssfeeds.azcentral.com/phoenix/mesa'),
('Phoenix', 'http://rssfeeds.azcentral.com/phoenix/phoenix'),
('Scottsdale', 'http://rssfeeds.azcentral.com/phoenix/scottsdale'),
('SW Valley', 'http://rssfeeds.azcentral.com/phoenix/swvalley'),
('Suprise', 'http://rssfeeds.azcentral.com/phoenix/surprise'),
('Tempe & Ahwatukee', 'http://rssfeeds.azcentral.com/phoenix/tempe'),
] ]

View File

@ -26,14 +26,13 @@ class ArmyTimes(BasicNewsRecipe):
auto_cleanup = True auto_cleanup = True
feeds = [ feeds = [
('Home', 'http://feeds.feedburner.com/rss/category/arm-home?format=xml'),
('News', 'http://www.armytimes.com/rss_news.php'), ('Education', 'http://feeds.feedburner.com/rss/category/arm-education?format=xml'),
('Benefits', 'http://www.armytimes.com/rss_benefits.php'), ('Careers', 'http://feeds.feedburner.com/rss/category/arm-careers?format=xml'),
('Money', 'http://www.armytimes.com/rss_money.php'), ('Adventure', 'http://feeds.feedburner.com/rss/category/arm-Adventure?format=xml'),
('Careers & Education', 'http://www.armytimes.com/rss_careers.php'), ('Entertainment', 'http://feeds.feedburner.com/rss/category/arm-entertainment?format=xml'),
('Community', 'http://www.armytimes.com/rss_community.php'), ('Technology', 'http://feeds.feedburner.com/rss/category/arm-technology?format=xml'),
('Off Duty', 'http://www.armytimes.com/rss_off_duty.php'), ('Reserve', 'http://feeds.feedburner.com/rss/category/arm-reserve?format=xml'),
('Entertainment', 'http://www.armytimes.com/rss_entertainment.php'), ('Opinion', 'http://feeds.feedburner.com/rss/category/arm-opinion?format=xml'),
('Guard & Reserve', 'http://www.armytimes.com/rss_guard.php'), ('Pay', 'http://feeds.feedburner.com/rss/category/arm-pay?format=xml'),
] ]

View File

@ -44,19 +44,26 @@ class ArsTechnica(BasicNewsRecipe):
] ]
remove_attributes = ['lang', 'style'] remove_attributes = ['lang', 'style']
# Feed are found here: http://arstechnica.com/rss-feeds/
feeds = [ feeds = [
(u'Ars Features (All our long-form feature articles)', u'http://feeds.arstechnica.com/arstechnica/features'), ('Ars Technica', 'http://feeds.arstechnica.com/arstechnica/index'),
(u'Technology Lab (Information Technology)', u'http://feeds.arstechnica.com/arstechnica/technology-lab'), ('Features', 'http://feeds.arstechnica.com/arstechnica/features'),
(u'Gear & Gadgets', u'http://feeds.arstechnica.com/arstechnica/gadgets'), ('Technology Lab', 'http://feeds.arstechnica.com/arstechnica/technology-lab'),
(u'Ministry of Innovation (Business of Technology)', u'http://feeds.arstechnica.com/arstechnica/business'), ('Gear & Gadgets', 'http://feeds.arstechnica.com/arstechnica/gadgets'),
(u'Risk Assessment (Security & Hacktivism)', u'http://feeds.arstechnica.com/arstechnica/security'), ('Ministry of Innovation', 'http://feeds.arstechnica.com/arstechnica/business'),
(u'Law & Disorder (Civilizations & Discontents)', u'http://feeds.arstechnica.com/arstechnica/tech-policy'), ('Risk Assessment', 'http://feeds.arstechnica.com/arstechnica/security'),
(u'Infinite Loop (Apple Ecosystem)', u'http://feeds.arstechnica.com/arstechnica/apple'), ('Law & Disorder', 'http://feeds.arstechnica.com/arstechnica/tech-policy'),
(u'Opposable Thumbs (Gaming & Entertainment)', u'http://feeds.arstechnica.com/arstechnica/gaming'), ('Infinite Loop', 'http://feeds.arstechnica.com/arstechnica/apple'),
(u'Scientific Method (Science & Exploration)', u'http://feeds.arstechnica.com/arstechnica/science'), ('Opposable Thumbs', 'http://feeds.arstechnica.com/arstechnica/gaming'),
(u'Multiverse (Exploratoins & Meditations on Sci-Fi)', u'http://feeds.arstechnica.com/arstechnica/multiverse'), ('Scientific Method', 'http://feeds.arstechnica.com/arstechnica/science'),
(u'Cars Technica (All Things Automotive)', u'http://feeds.arstechnica.com/arstechnica/cars'), ('The Multiverse', 'http://feeds.arstechnica.com/arstechnica/multiverse'),
(u'Staff Blogs (From the Minds of Ars)', u'http://feeds.arstechnica.com/arstechnica/staff-blogs') ('Cars Technica', 'http://feeds.arstechnica.com/arstechnica/cars'),
('Staff', 'http://feeds.arstechnica.com/arstechnica/staff-blogs'),
('Open Source', 'http://feeds.arstechnica.com/arstechnica/open-source'),
('microsoft', 'http://feeds.arstechnica.com/arstechnica/microsoft'),
('software', 'http://feeds.arstechnica.com/arstechnica/software'),
('telecom', 'http://feeds.arstechnica.com/arstechnica/telecom'),
('Internet', 'http://feeds.arstechnica.com/arstechnica/web'),
] ]
def append_page(self, soup, appendtag, position): def append_page(self, soup, appendtag, position):

View File

@ -17,16 +17,24 @@ class AdvancedUserRecipe1421956712(BasicNewsRecipe):
def print_version(self, url): def print_version(self, url):
return url.replace('/archive/', '/print/') return url.replace('/archive/', '/print/')
# Feed are found here: http://www.theatlantic.com/follow-the-atlantic/#follow-rssfeeds
feeds = [ feeds = [
('Politics', 'http://feeds.feedburner.com/AtlanticPoliticsChannel'), ('The Atlantic', 'http://www.theatlantic.com/feed/all/'),
('International', 'http://feeds.feedburner.com/AtlanticInternational'), ('Best of The Atlantic', 'http://www.theatlantic.com/feed/best-of/'),
('National', 'http://feeds.feedburner.com/AtlanticNational'), ('Politics | The Atlantic', 'http://www.theatlantic.com/feed/channel/politics/'),
('Science and Tech', 'http://feeds.feedburner.com/AtlanticScienceAndTechnology'), ('Business | The Atlantic', 'http://www.theatlantic.com/feed/channel/business/'),
('Business', 'http://feeds.feedburner.com/AtlanticBusinessChannel'), ('Culture | The Atlantic', 'http://www.theatlantic.com/feed/channel/entertainment/'),
('Health', 'http://feeds.feedburner.com/AtlanticFood'), ('Global | The Atlantic', 'http://www.theatlantic.com/feed/channel/international/'),
('Education', 'http://feeds.feedburner.com/AtlanticEducationChannel'), ('Technology | The Atlantic', 'http://www.theatlantic.com/feed/channel/technology/'),
('Entertainment', 'http://feeds.feedburner.com/AtlanticCulture'), ('U.S. | The Atlantic', 'http://www.theatlantic.com/feed/channel/national/'),
('Sexes', 'http://feeds.feedburner.com/AtlanticSexesChannel'), ('Health | The Atlantic', 'http://www.theatlantic.com/feed/channel/health/'),
('The Atlantic', 'http://feeds.feedburner.com/TheAtlantic'), ('Video | The Atlantic', 'http://www.theatlantic.com/feed/channel/video/'),
('The Atlatic Wire', 'http://feeds.feedburner.com/TheAtlanticWire'), ('Sexes | The Atlantic', 'http://www.theatlantic.com/feed/channel/sexes/'),
('Education | The Atlantic', 'http://www.theatlantic.com/feed/channel/education/'),
('Science | The Atlantic', 'http://www.theatlantic.com/feed/channel/science/'),
('News | The Atlantic', 'http://www.theatlantic.com/feed/channel/news/'),
('Press Releases | The Atlantic', 'http://www.theatlantic.com/feed/channel/press-releases/'),
('Newsletters | The Atlantic', 'http://www.theatlantic.com/feed/channel/newsletters/'),
('The Atlantic Photo', 'http://feeds.feedburner.com/theatlantic/infocus'),
('Notes | The Atlantic', 'http://feeds.feedburner.com/TheAtlanticNotes'),
] ]

View File

@ -16,7 +16,7 @@ class BigGovernmentRecipe(BasicNewsRecipe):
max_articles_per_feed = 100 max_articles_per_feed = 100
use_embedded_content = True use_embedded_content = True
feeds = [(u'Big Government', u'http://feeds.feedburner.com/BigGovernment')] feeds = [(u'Big Government', u'http://feeds.feedburner.com/breitbart')]
conversion_options = {'comments': description, 'tags': category, 'language': 'en', conversion_options = {'comments': description, 'tags': category, 'language': 'en',
'publisher': publisher} 'publisher': publisher}

View File

@ -43,24 +43,17 @@ class WiredDailyNews(BasicNewsRecipe):
] ]
feeds = [ feeds = [
(u'Top Stories', u'https://www.wired.com/feed/'),
(u'Top Stories', u'http://feeds.wired.com/wired/index'), (u'Business', u'https://www.wired.com/category/business/feed/'),
(u'Product reviews', u'http://feeds.wired.com/WiredReviews'), (u'Design', u'https://www.wired.com/category/design/feed/'),
(u'Autopia', u'http://feeds.wired.com/wiredautopia'), (u'Entertainment', u'https://www.wired.com/category/underwire/feed/'),
(u'Business', u'http://feeds.wired.com/wiredbusinessblog'), (u'Tech', u'https://www.wired.com/category/gear/feed/'),
(u'Danger Room', u'http://feeds.wired.com/WiredDangerRoom'), (u'Product Reviews', u'https://www.wired.com/category/reviews/feed/'),
(u'Gadget Lab', u'http://feeds.wired.com/GearFactor'), (u'Science', u'https://www.wired.com/category/science/feed/'),
(u'Game Life', u'http://feeds.wired.com/Gamelife'), (u'Science Blogs', u'https://www.wired.com/category/science/science-blogs/feed/'),
(u'GeekMom', u'http://feeds.wired.com/wiredgeekmom/'), (u'Security', u'https://www.wired.com/category/security/feed/'),
(u'Innovation Insights', u'http://feeds.wired.com/wiredinsights'), (u'Transportation', u'https://www.wired.com/category/transportation/feed/'),
(u'Opinion', u'http://feeds.wired.com/wiredopinion/'), (u'Photo', u'https://www.wired.com/category/photo/feed/'),
(u'Playbook', u'http://feeds.wired.com/wiredplaybook/'),
(u'This day in Tech', u'http://feeds.wired.com/ThisDayInTech'),
(u'Threat level', u'http://feeds.wired.com/wired27b'),
(u'Design', u'http://feeds.wired.com/wired/design'),
(u'Underwire', u'http://feeds.wired.com/wiredunderwire'),
(u'Enterprise', u'http://feeds.wired.com/wiredenterprise/'),
(u'Science', u'http://feeds.wired.com/wiredscience')
] ]
def get_article_url(self, article): def get_article_url(self, article):