mirror of
https://github.com/harismuneer/Ultimate-Facebook-Scraper
synced 2024-11-10 06:04:17 +00:00
append input check
This commit is contained in:
parent
280969e9c8
commit
492561ba87
1 changed files with 2 additions and 2 deletions
|
@ -802,8 +802,8 @@ def scraper(**kwargs):
|
|||
exit(1)
|
||||
|
||||
urls = []
|
||||
for line in open("input.txt"):
|
||||
if line.lstrip().startswith("#"):
|
||||
for line in open("input.txt", newline="\r\n"):
|
||||
if line.lstrip().startswith("#") or line.strip() == "":
|
||||
continue
|
||||
urls.append(line.strip())
|
||||
|
||||
|
|
Loading…
Reference in a new issue