From 46b7a374f679e6aafacaf3de0b1eaae40bff7616 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Tue, 1 Nov 2016 02:51:00 +0100 Subject: [PATCH] Small GoComics update. --- dosagelib/plugins/gocomics.py | 6 +----- dosagelib/plugins/old.py | 2 ++ scripts/gocomics.py | 6 ++++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dosagelib/plugins/gocomics.py b/dosagelib/plugins/gocomics.py index 1ee3fa10f..b6849b006 100644 --- a/dosagelib/plugins/gocomics.py +++ b/dosagelib/plugins/gocomics.py @@ -133,6 +133,7 @@ class GoComics(_ParserScraper): cls('NeighborhoodZone', 'neightborhood-zone'), cls('NobodysHome', 'nobodys-home'), cls('NoPlaceLikeHolmes', 'no-place-like-holmes'), + cls('Norman', 'Norman'), cls('Oat', 'oat'), cls('ObamaandtheFatman', 'obama-and-the-fatman'), cls('OntheQuad', 'on-the-quad'), @@ -327,7 +328,6 @@ class GoComics(_ParserScraper): cls('CleoAndCompany', 'cleo-and-company'), cls('CloseToHome', 'closetohome'), cls('Committed', 'committed'), - cls('Complex', 'complex'), cls('Computoon', 'compu-toon'), cls('ConnieToTheWonnie', 'connie-to-the-wonnie'), cls('Cornered', 'cornered'), @@ -468,7 +468,6 @@ class GoComics(_ParserScraper): cls('HermanEnEspaol', 'espanol/herman-en-espanol', 'es'), cls('HipsterPicnic', 'hipster-picnic'), cls('Hogwashed', 'hogwashed'), - cls('HolidayDoodles', 'holiday-doodles'), cls('HomeAndAway', 'homeandaway'), cls('HomeLife', 'home-life'), cls('HotComicsForCoolPeople', 'hot-comics-for-cool-people'), @@ -569,7 +568,6 @@ class GoComics(_ParserScraper): cls('MarmadukeEnEspaol', 'espanol/marmaduke-en-espanol', 'es'), cls('MarshallRamsey', 'marshallramsey'), cls('MarysNature', 'marys-nature'), - cls('MassiveFalls', 'massive-falls'), cls('MattBors', 'matt-bors'), cls('MattDavies', 'mattdavies'), cls('MattWuerker', 'mattwuerker'), @@ -592,7 +590,6 @@ class GoComics(_ParserScraper): cls('ModeratelyConfused', 'moderately-confused'), cls('Molebashed', 'molebashed'), cls('MollyAndTheBear', 'mollyandthebear'), - cls('Moments', 'moments'), cls('Momma', 'momma'), cls('MomsCancer', 'moms-cancer'), cls('Mongrels', 'mongrels'), @@ -622,7 +619,6 @@ class GoComics(_ParserScraper): cls('NoBusinessIKnow', 'nobusinessiknow'), cls('NonSequitur', 'nonsequitur'), cls('NoOrdinaryLife', 'no-ordinary-life'), - cls('Norman', 'Norman'), cls('NothingIsNotSomething', 'nothing-is-not-something'), cls('NotInventedHere', 'not-invented-here'), cls('NowRecharging', 'now-recharging'), diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index 9db78d66f..3eae1fac6 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -216,11 +216,13 @@ class Removed(Scraper): cls('GoComics/FrankBlunt'), cls('GoComics/GoComicsontheRoad'), cls('GoComics/HIP'), + cls('GoComics/HolidayDoodles'), cls('GoComics/HoodootheUnwiseOwl'), cls('GoComics/JayAndBoneheadTheMunkysMrCowhide'), cls('GoComics/JustPosted'), cls('GoComics/KatetheGreat'), cls('GoComics/Mac'), + cls('GoComics/MassiveFalls'), cls('GoComics/McArroni'), cls('GoComics/MidLifewAlan'), cls('GoComics/Millennialhood'), diff --git a/scripts/gocomics.py b/scripts/gocomics.py index debb54c5d..244343e81 100755 --- a/scripts/gocomics.py +++ b/scripts/gocomics.py @@ -14,11 +14,13 @@ from scriptutil import ComicListUpdater class GoComicsUpdater(ComicListUpdater): # names of comics to exclude - excluded_comics = [ + excluded_comics = ( # "coming soon" "AngryProgrammer", + "Complex", "Guinness", "Jabberwoncky", + "Moments", "Pi", "RandysRationale", "SignsOfOurTimes", @@ -33,7 +35,7 @@ class GoComicsUpdater(ComicListUpdater): "BillyAndCo", "BuffaloChips", "Crawdiddy", - ] + ) def handle_url(self, url): """Parse one search result page."""