[gfycat] consistent 'userName' values for 'user' downloads (#1962)

by using the name from the input URL and not relying on possibly faulty
or incomplete API results.

'userData[username]', if available, will still have the original name.
pull/1982/head
Mike Fährmann 3 years ago
parent ba9579c504
commit e436a2607b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1,5 +1,7 @@
# Changelog
## Unreleased
## 1.19.1 - 2021-10-24
### Additions
- [inkbunny] add `following` extractor ([#515](https://github.com/mikf/gallery-dl/issues/515))

@ -73,6 +73,9 @@ class GfycatUserExtractor(GfycatExtractor):
"count": ">= 100",
})
def metadata(self):
return {"userName": self.key}
def gfycats(self):
return GfycatAPI(self).user(self.key)

@ -28,6 +28,9 @@ class RedgifsUserExtractor(RedgifsExtractor):
"count": ">= 100",
})
def metadata(self):
return {"userName": self.key}
def gfycats(self):
return RedgifsAPI(self).user(self.key)

@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.19.1"
__version__ = "1.19.2-dev"

Loading…
Cancel
Save