update 'match.lastindex' usage
This commit is contained in:
@@ -18,7 +18,7 @@ class FoolslideExtractor(BaseExtractor):
|
||||
|
||||
def __init__(self, match):
|
||||
BaseExtractor.__init__(self, match)
|
||||
self.gallery_url = self.root + match[match.lastindex]
|
||||
self.gallery_url = self.root + self.groups[-1]
|
||||
|
||||
def request(self, url):
|
||||
return BaseExtractor.request(
|
||||
|
||||
Reference in New Issue
Block a user