aboutsummaryrefslogtreecommitdiff
path: root/src/utils/http.py
Commit message (Expand)AuthorAgeFilesLines
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-301-2/+2
* Add type/return hints throughout src/ and, in doing so, fix some cyclical•••references. Gravatar jesopo2018-10-301-5/+6
* signal.signal timer callback takes 2 argsGravatar jesopo2018-10-251-1/+1
* Add fallback_encoding to utils.http.get_url, in case a page has no implicit•••encoding Gravatar jesopo2018-10-101-2/+3
* .decode data prior to json.loads in utils.http.get_urlGravatar jesopo2018-10-101-2/+1
* Fix syntax error for throwing a timeout when signal.alarm firesGravatar jesopo2018-10-101-1/+3
* .decode plaintext returns from utils.http.get_urlGravatar jesopo2018-10-101-0/+1
* Use signal.alarm to Deadline utils.http.get_url and throw useful exceptionsGravatar jesopo2018-10-101-16/+28
* Set a max size of 100mb for utils.http.get_urlGravatar jesopo2018-10-101-3/+7
* Change utils.http to use requestsGravatar jesopo2018-10-101-83/+30
* Remove debug print in src.utils.httpGravatar jesopo2018-10-091-1/+0
* Return response code from utils.http.get_url when code=True and soup=TrueGravatar jesopo2018-10-091-4/+11
* Support post_data in utils.http.get_urlGravatar jesopo2018-10-081-2/+7
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules of•••related functionality Gravatar jesopo2018-10-031-0/+94