store the full original URL in Extractor.url

This commit is contained in:
Mike Fährmann
2019-02-12 10:20:21 +01:00
parent 580baef72c
commit 2e516a1e3e
14 changed files with 72 additions and 78 deletions

View File

@@ -50,7 +50,6 @@ class PhotobucketAlbumExtractor(Extractor):
def __init__(self, match):
Extractor.__init__(self, match)
self.album_path = ""
self.url = match.group(0)
self.root = "http://" + match.group(1)
self.session.headers["Referer"] = self.url
@@ -128,7 +127,6 @@ class PhotobucketImageExtractor(Extractor):
def __init__(self, match):
Extractor.__init__(self, match)
self.url = match.group(0)
self.user = match.group(1) or match.group(3)
self.media_id = match.group(2)
self.session.headers["Referer"] = self.url