propagate 'match' to base extractor constructor
This commit is contained in:
@@ -48,7 +48,7 @@ class PhotobucketAlbumExtractor(Extractor):
|
||||
)
|
||||
|
||||
def __init__(self, match):
|
||||
Extractor.__init__(self)
|
||||
Extractor.__init__(self, match)
|
||||
self.album_path = ""
|
||||
self.url = match.group(0)
|
||||
self.root = "http://" + match.group(1)
|
||||
@@ -127,7 +127,7 @@ class PhotobucketImageExtractor(Extractor):
|
||||
)
|
||||
|
||||
def __init__(self, match):
|
||||
Extractor.__init__(self)
|
||||
Extractor.__init__(self, match)
|
||||
self.url = match.group(0)
|
||||
self.user = match.group(1) or match.group(3)
|
||||
self.media_id = match.group(2)
|
||||
|
||||
Reference in New Issue
Block a user