diff --git a/doc/changelog.txt b/doc/changelog.txt index 884121b58..718cad313 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -10,6 +10,8 @@ Changes: - comics: CyanideAndHappiness image filename now has the strip number prefixed. Fixes: +- comics: Fixed LeastICouldDo image URL. + Closes: GH bug #1 - documentation: Fix wrong option name: it's -a instead of -c. Closes: GH bug #3 - comics: Fix UnboundLocalError when using indexed retrieval. diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 9c5fc515c..4266f2493 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -46,8 +46,8 @@ class LittleGamers(_BasicScraper): class LeastICouldDo(_BasicScraper): - latestUrl = 'http://www.leasticoulddo.com/' + latestUrl = 'http://leasticoulddo.com/' stripUrl = latestUrl + 'comic/%s' - imageSearch = compile(r'') + imageSearch = compile(tagre("img", "src", r'(http://cdn\.leasticoulddo\.com/wp-content/uploads/\d+/\d+/\d{8}\.\w{1,4})')) prevSearch = compile(r'Previous') help = 'Index format: yyyymmdd'