Fix coding style.
This commit is contained in:
parent
e94e2ae432
commit
614c25e278
1 changed files with 5 additions and 35 deletions
|
@ -68,45 +68,15 @@ class Bearmageddon(_BasicScraper):
|
||||||
|
|
||||||
|
|
||||||
class Beetlebum(_BasicScraper):
|
class Beetlebum(_BasicScraper):
|
||||||
|
|
||||||
description = u'JoJos Illustrierter Blog'
|
description = u'JoJos Illustrierter Blog'
|
||||||
url = 'http://blog.beetlebum.de/'
|
url = 'http://blog.beetlebum.de/'
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
|
|
||||||
stripUrl = url + '%s'
|
stripUrl = url + '%s'
|
||||||
firstStripUrl = stripUrl % '2006/03/10/quiz-fur-ruskiphile'
|
firstStripUrl = stripUrl % '2006/03/10/quiz-fur-ruskiphile'
|
||||||
|
starter = indirectStarter(url, compile(tagre('a', 'href', r'(%s\d{4}/\d{2}/\d{2}/[^"]+)' % rurl, after='bookmark')))
|
||||||
starter = indirectStarter(
|
|
||||||
url,
|
|
||||||
compile(
|
|
||||||
tagre(
|
|
||||||
'a',
|
|
||||||
'href',
|
|
||||||
r'(%s\d{4}/\d{2}/\d{2}/[^"]+)' % rurl,
|
|
||||||
after='bookmark'
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
multipleImagesPerStrip = True
|
multipleImagesPerStrip = True
|
||||||
|
imageSearch = compile(tagre('img', 'src', r'(http://blog\.beetlebum\.de/wp-content/uploads/[^"]+)'))
|
||||||
imageSearch = compile(
|
prevSearch = compile(tagre('a', 'href', r'(%s\d{4}/\d{2}/\d{2}/[^"]*)' % rurl, after='prev'))
|
||||||
tagre(
|
|
||||||
'img',
|
|
||||||
'src',
|
|
||||||
r'(http://blog\.beetlebum\.de/wp-content/uploads/[^"]+)'
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
prevSearch = compile(
|
|
||||||
tagre(
|
|
||||||
'a',
|
|
||||||
'href',
|
|
||||||
r'(%s\d{4}/\d{2}/\d{2}/[^"]*)' % rurl,
|
|
||||||
after='prev'
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
help = 'Index format: yyyy/mm/dd/striptitle'
|
help = 'Index format: yyyy/mm/dd/striptitle'
|
||||||
lang = 'de'
|
lang = 'de'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue