Commit Graph

14 Commits

Author SHA1 Message Date
eggplants
75352df296 fix: error message 2022-02-04 08:24:04 +09:00
eggplants
f3f77c30ef fix: str(headers)->headers_str 2022-02-04 08:23:20 +09:00
eggplants
858c486b99 add: staticmethod decorator to no-self-use methods 2022-02-04 07:54:39 +09:00
eggplants
5a324b9f61 fix: shorten long lines 2022-02-04 07:20:02 +09:00
eggplants
b496f7008e fix: f-string 2022-02-04 05:35:40 +09:00
eggplants
639159e304 fix: Retry (ref: https://github.com/python/typeshed/issues/6893) 2022-02-04 05:00:36 +09:00
eggplants
38088fa0d8 add: type annotation to waybackpy modules 2022-02-04 04:25:01 +09:00
eggplants
e61447effd Format and lint codes and fix packaging (#125)
* add: configure files (setup.py->setup.py+setup.cfg+pyproject.toml)

* add: __download_url__

* format with black and isort

* fix: flake8 section in setup.cfg

* add: E501 to flake ignore

* fix: metadata.name does not accept attr

* fix: merge __version__.py into __init__.py

* fix: flake8 errors in tests/

* fix: datetime.datetime -> datetime

* fix: banner

* fix: ignore W605 for banner

* fix: way to install deps in CI

* add: versem to setuptools

* fix: drop python<=3.6 (#126) from package and CI
2022-02-03 19:13:39 +05:30
eggplants
bc1dc4dc96 fix: save retry mechanism 2022-02-03 19:45:16 +09:00
Akash Mahanty
2bea92b348 fix bug with the third matching case of the archive_url_parser, caught while writing more tests fo the save API interface. 2022-01-24 13:31:30 +05:30
Akash Mahanty
7844d15d99 close the session in save api interface 2022-01-23 18:34:06 +05:30
Akash Mahanty
405e9a2a79 waybackpy/save_api.py : Added doc strings and also lint with black. 2022-01-22 00:41:10 +05:30
Akash Mahanty
5e9fdb40ce escape '.' before 'archive.org'
escape '.' before 'archive.org' on line 88 so it does not match more hosts than expected.
2022-01-21 19:51:08 +05:30
Akash Mahanty
4e68cd5743 Create separate module for the 3 different APIs also CDX is now CLI supported. 2022-01-02 14:14:45 +05:30