[gfycat] convert IDs to lowercase
Redgifs expects all IDs and names to be lowercase and throws a 404 if an ID contains an uppercase letter. Gfycat on the other hand doesn't care about case, so it's fine to just convert all IDs. (#1138)
This commit is contained in:
@@ -22,7 +22,7 @@ class GfycatExtractor(Extractor):
|
||||
|
||||
def __init__(self, match):
|
||||
Extractor.__init__(self, match)
|
||||
self.key = match.group(1)
|
||||
self.key = match.group(1).lower()
|
||||
self.formats = (self.config("format", "mp4"), "mp4", "webm", "gif")
|
||||
|
||||
def items(self):
|
||||
|
||||
Reference in New Issue
Block a user