Added Science.

This commit is contained in:
Bastian Kleineidam 2013-04-09 19:38:16 +02:00
parent 68f14971e8
commit e040dd0d50
2 changed files with 12 additions and 2 deletions

View file

@ -1,8 +1,8 @@
Dosage 2.0 (released xx.xx.2013) Dosage 2.0 (released xx.xx.2013)
Features: Features:
- comics: Added ExtraOrdinary, GoblinsComic, RealmOfAtland, SnowFlakes, - comics: Added ExtraOrdinary, GoblinsComic, RealmOfAtland, Science,
StuffNoOneToldMe and WebDesignerCOTW. SnowFlakes, StuffNoOneToldMe and WebDesignerCOTW.
- comics: Added the --vote option to vote for popular comics. - comics: Added the --vote option to vote for popular comics.
Changes: Changes:

View file

@ -87,6 +87,16 @@ class Schuelert(_BasicScraper):
lang = 'de' lang = 'de'
class Science(_BasicScraper):
url = 'http://sci-ence.org/'
stripUrl = url + '%s/'
firstStripUrl = stripUrl % 'periodic-table-element-ass'
prevSearch = compile(tagre("a", "href", r'(http://sci-ence\.org/[^"]+/)', after="prev"))
imageSearch = compile(tagre("img", "src", r'(http://sci-ence\.org/comics/\d+-\d+-\d+[^"]+)'))
help = 'Index format: stripname'
description = u'A comic about science, technology, skepticism, geekery, video games, atheism, and more.'
class SequentialArt(_BasicScraper): class SequentialArt(_BasicScraper):
url = 'http://www.collectedcurios.com/sequentialart.php' url = 'http://www.collectedcurios.com/sequentialart.php'
stripUrl = url + '?s=%s' stripUrl = url + '?s=%s'