From 62a3a55b824630eb8f13d8cdf8f31000fcf9b4e5 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 26 Mar 2014 19:59:42 +0100 Subject: [PATCH] Fixed LoadingArtist --- doc/changelog.txt | 2 +- dosagelib/plugins/l.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changelog.txt b/doc/changelog.txt index 52d333c13..012dbd17e 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,7 +1,7 @@ Dosage 2.14 (released xx.xx.2014) Fixes: -- comics: Fixed PennyArcade +- comics: Fixed LoadingArtist, PennyArcade Closes: GH bug #62 diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 1106811f9..7a0fcd481 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -87,7 +87,7 @@ class LoadingArtist(_BasicScraper): rurl = escape(url) stripUrl = url + '%s/' firstStripUrl = stripUrl % '2011/01/04/born' - imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]+)' % rurl)) + imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+)' % rurl)) prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"]+/)' % rurl, after="prev")) help = 'Index format: yyyy/mm/dd/stripname'