mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-26 06:00:22 +00:00
fix parsing links from stdin with whitespace
This commit is contained in:
parent
794c043fa4
commit
265e1bd830
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ def parse_plain_text(text_file):
|
|||
urls = re.findall(URL_REGEX, line)
|
||||
|
||||
for url in urls:
|
||||
url = url.strip()
|
||||
info = {
|
||||
'url': url,
|
||||
'domain': domain(url),
|
||||
|
|
Loading…
Reference in a new issue