Skip to content

Commit

Permalink
[gfycat] fix default filename format
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Nov 13, 2020
1 parent a46561b commit 904ba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/gfycat.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def gfycats(self):
class GfycatUserExtractor(GfycatExtractor):
"""Extractor for gfycat user profiles"""
subcategory = "user"
directory_fmt = ("{category}", "{userName}")
directory_fmt = ("{category}", "{username|userName}")
pattern = r"(?:https?://)?gfycat\.com/@([^/?#]+)"
test = ("https://gfycat.com/@gretta", {
"pattern": r"https://giant\.gfycat\.com/[A-Za-z]+\.mp4",
Expand Down

0 comments on commit 904ba08

Please sign in to comment.