Update gallery_dl/extractor/reddit.py

Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
pull/4581/head
HRXN 12 months ago committed by GitHub
parent 66613c3a32
commit ec91eeb7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save