AntiCompositeNumber
9dfb87fae3
Specify parameters to near
2020-07-21 17:04:17 -04:00
AntiCompositeNumber
23443ba2ec
Default parameters should be type-consistant with expected values
2020-07-21 16:36:22 -04:00
AntiCompositeNumber
168ef1854a
Url._url_check should return None
...
There's no point in returning True if it's never checked and won't ever
be False.
Implicitly returning None or raising an exception is more idiomatic.
2020-07-21 16:34:33 -04:00
AntiCompositeNumber
77bc275333
DRY in _wayback_timestamp
2020-07-21 16:30:53 -04:00
AntiCompositeNumber
10e918eebf
move wayback_timestamp out of class, mark private functions
2020-07-21 16:23:29 -04:00
AntiCompositeNumber
bec26c4bae
Move archive_url_parser out of Url.save()
...
It's generally poor form to define a function in a function, as it will
be re-defined each time the function is run.
archive_url_parser does not depend on anything in Url, so it makes sense
to move it out of the class.
2020-07-21 15:52:27 -04:00
AntiCompositeNumber
b3c68add55
Clean up exceptions, docstrings, and comments
...
Docstrings on dunder functions are redundant and typically ignored
Limit to reasonable line length
General grammar and style corrections
Clarify docstrings and exceptions
Format docstrings per PEP 257 -- Docstring Conventions
2020-07-21 15:46:16 -04:00
AntiCompositeNumber
fd74e62ff9
Use Black for quick readability improvements
2020-07-21 14:25:49 -04:00
Akash
8fd4462025
Update wrapper.py
2020-07-20 20:17:18 +05:30
Akash
f3bb9a8540
Update wrapper.py
2020-07-20 10:11:36 +05:30
Akash
bb94e0d1c5
Update index.rst and remove dupes
2020-07-20 10:07:31 +05:30
Akash
83c962166d
Raise
2020-07-19 23:02:04 +05:30
Akash
8ab116f276
API chnaged again. updated
...
* Update wrapper.py
* Update wrapper.py
* Update wrapper.py
* Update wrapper.py
* Update wrapper.py
* api changed; fix archive url parser
* Update wrapper.py
* - Trailing whitespace
* include the header in exception
2020-07-19 20:39:07 +05:30
Akash
58d2d585c8
No timeout for final try
2020-07-18 18:29:41 +05:30
Akash
0ad27f5ecc
update readme for newer oop and some test changes ( #12 )
...
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* docstrings
* user agent ; more variants
* description update
* Update __init__.py
* # -*- coding: utf-8 -*-
* Update test_1.py
* update docs for get()
* Update README.md
2020-07-18 16:22:09 +05:30
Akash
f2112c73f6
Python 2 support
2020-07-17 21:08:32 +05:30
Akash
9860527d96
OOP ( #10 )
...
* Update wrapper.py
* Update exceptions.py
* Update __init__.py
* test adjusted for new changes
* Update wrapper.py
2020-07-17 20:50:00 +05:30
Akash
f881705d00
detecet python version whith sys.version_info ( #9 )
2020-06-26 15:48:01 +05:30
akamhy
42ac399362
Most efficient method to count (yet)
2020-05-08 09:47:13 +05:30
akamhy
e9d010c793
just count the status code, consumes less memory
2020-05-08 09:28:18 +05:30
akamhy
0c4f119981
Update wrapper.py
2020-05-07 17:25:34 +05:30
akamhy
afded51a04
Update wrapper.py
2020-05-07 17:20:23 +05:30
akamhy
b950616561
Update wrapper.py
2020-05-07 17:17:17 +05:30
akamhy
444675538f
fix code Complexity ( #8 )
...
* fix code Complexity
* Update wrapper.py
* codefactor badge
2020-05-07 16:51:08 +05:30
akamhy
0ca6710334
Update wrapper.py
2020-05-07 16:24:33 +05:30
akamhy
01a7c591ad
retry
2020-05-07 15:46:39 +05:30
akamhy
74d3bc154b
fix issue with py2.7
2020-05-07 15:34:41 +05:30
akamhy
8c5c0153da
+ total_archives()
2020-05-07 14:52:05 +05:30
akamhy
db127a5c54
always return https
2020-05-06 20:16:25 +05:30
akamhy
ed497bbd23
Update wrapper.py
2020-05-06 20:07:25 +05:30
akamhy
45fe07ddb6
Update wrapper.py
2020-05-06 19:35:01 +05:30
akamhy
a6cb955669
Update wrapper.py
2020-05-05 10:04:40 +05:30
akamhy
8acb14a243
Update wrapper.py
2020-05-05 10:00:29 +05:30
akamhy
7d434c3f0f
Update wrapper.py
2020-05-05 09:57:39 +05:30
akamhy
057c61d677
Update wrapper.py
2020-05-05 09:48:39 +05:30
akamhy
6705c04f38
Update wrapper.py
2020-05-05 09:43:13 +05:30
akamhy
09b4ba2649
Version 1.2 with bug fixes and support for webpage retrieval ( #4 )
2020-05-05 09:03:16 +05:30
akamhy
509426a1f7
Update wrapper.py
2020-05-04 16:01:01 +05:30
akamhy
997b654881
Update wrapper.py
2020-05-04 15:33:00 +05:30
akamhy
5ad2886bcb
python 2.x support
2020-05-04 09:49:40 +05:30
akamhy
9ab503f4ac
Update wrapper.py
2020-05-04 09:01:33 +05:30
akamhy
53561ec9c4
Update wrapper.py
2020-05-04 08:56:01 +05:30
akamhy
d5fb9a5219
Update wrapper.py
2020-05-04 08:34:08 +05:30
akamhy
52b4bb9ac7
Update wrapper.py
2020-05-04 08:21:42 +05:30
akamhy
e66c70c8ee
Update wrapper.py
2020-05-04 08:13:54 +05:30
akamhy
4f66e1c15e
Create wrapper.py
2020-05-04 08:05:52 +05:30