Skip to content

Commit

Permalink
wsp: refactored to support scrapy-crawl-once
Browse files Browse the repository at this point in the history
* Re-factored: `WSP` spider and `utils` module in order not to check the crawled records.

Addresses inspirehep#161

Signed-off-by: Spiros Delviniotis <[email protected]>
  • Loading branch information
spirosdelviniotis authored and david-caro committed Aug 25, 2017
1 parent 92b0efa commit 4054da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hepcrawl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def get_license_by_text(license_text):
license = get_license_by_url(license_url=LICENSE_TEXTS[key])

return license

2

class RecordFile(object):
"""Metadata of a file needed for a record.
Expand Down

0 comments on commit 4054da8

Please sign in to comment.