diff options
| author | 2022-09-22 19:43:53 -0400 | |
|---|---|---|
| committer | 2022-09-22 19:43:53 -0400 | |
| commit | e6b82556343116256be047ab7099bedd9063f66a (patch) | |
| tree | 884c0435863d130ec967163b82a2638ff1bd9505 /gallery_dl/__init__.py | |
| parent | a768930761f7f20587ae40a8cacca0e55c85290a (diff) | |
New upstream version 1.23.1.upstream/1.23.1
Diffstat (limited to 'gallery_dl/__init__.py')
| -rw-r--r-- | gallery_dl/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/__init__.py b/gallery_dl/__init__.py index 329e7ab..7504fa4 100644 --- a/gallery_dl/__init__.py +++ b/gallery_dl/__init__.py @@ -96,9 +96,9 @@ def parse_inputfile(file, log): else: # url if " #" in line: - line = line.partition(" #")[0] + line = line.partition(" #")[0].rstrip() elif "\t#" in line: - line = line.partition("\t#")[0] + line = line.partition("\t#")[0].rstrip() if gconf or lconf: yield util.ExtendedUrl(line, gconf, lconf) gconf = [] |
