mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
Update gallery_dl/extractor/reddit.py
Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
This commit is contained in:
parent
66613c3a32
commit
ec91eeb7ef
@ -115,10 +115,10 @@ class RedditExtractor(Extractor):
|
||||
continue
|
||||
if url[0] == "/":
|
||||
url = "https://www.reddit.com" + url
|
||||
if (url.startswith(
|
||||
"https://www.reddit.com/message/compose") or
|
||||
url.startswith(
|
||||
"https://reddit.com/message/compose")):
|
||||
if url.startswith((
|
||||
"https://www.reddit.com/message/compose",
|
||||
"https://reddit.com/message/compose",
|
||||
)):
|
||||
continue
|
||||
|
||||
match = match_submission(url)
|
||||
|
Loading…
Reference in New Issue
Block a user