Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/data_prepare/crawler/NIPS_crawl.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def main(args):
if data is None:
return -2

lines = str(data).split("\n")
lines = str(data).split(r"\n")

print("Got",len(lines),"lines")

Expand Down Expand Up @@ -95,7 +95,7 @@ def handle_url2(url, out_dir, http, year, no_pdf):
if lines is None:
return None

lines = str(lines).split("\n")
lines = str(lines).split(r"\n")

publication_type = None
abstract = None
Expand Down