Skip to content

Commit

Permalink
allow tabstops as whitespace before input file comments (#2808)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Aug 11, 2022
1 parent 1c89ccb commit 764906e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gallery_dl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def parse_inputfile(file, log):
# url
if " #" in line:
line = line.partition(" #")[0]
elif "\t#" in line:
line = line.partition("\t#")[0]
if gconf or lconf:
yield util.ExtendedUrl(line, gconf, lconf)
gconf = []
Expand Down

0 comments on commit 764906e

Please sign in to comment.