Commit Graph

  • 06095202fe BUG FIX : forgot to use the endpoint from the instance and also assign payload to param. Bug caught by the flake8 in the CI tests. Akash Mahanty 2022-01-24 23:35:48 +0530
  • 06fc7855bf waybackpy/cdx_api.py : deafult user agent is now DEFAULT_USER_AGENT, get_response now take url and headers as arguments and request url is generated by full_url function. max_tries added as parameter for the WaybackMachineCDXServerAPI class with default value of 3. Akash Mahanty 2022-01-24 23:20:49 +0530
  • c49fe971fd update the older deprecation not for Url class, the newer date is now 2025 instead of 2024. Akash Mahanty 2022-01-24 23:15:59 +0530
  • d6783d5525 added tests for cdx_utils.py Akash Mahanty 2022-01-24 23:05:47 +0530
  • 9262f5da21 improve functions get_total_pages, get_response and lint check_filters, check_collapses and check_match_type Akash Mahanty 2022-01-24 22:57:20 +0530
  • d1a1cf2546 added tests for utils.py at tests/test_utils.py also changed a keyword argument from headers to user_agent for latest_version of utils.py with the usual default vaule. Akash Mahanty 2022-01-24 17:50:36 +0530
  • cd8a32ed1f added tests for cdx_snapshot.py at tests/test_cdx_snapshot.py Akash Mahanty 2022-01-24 16:29:44 +0530
  • 57512c65ff change test oldest method from google.com to example.com, the oldest on google is for some unknown reason is not very stable. Akash Mahanty 2022-01-24 16:27:35 +0530
  • d9ea26e11c added code style black badge Akash Mahanty 2022-01-24 13:46:31 +0530
  • 2bea92b348 fix bug with the third matching case of the archive_url_parser, caught while writing more tests fo the save API interface. Akash Mahanty 2022-01-24 13:31:30 +0530
  • d506685f68 added some tests for save_api interface Akash Mahanty 2022-01-23 18:35:54 +0530
  • 7844d15d99 close the session in save api interface Akash Mahanty 2022-01-23 18:34:06 +0530
  • c0252edff2 updated tests for availability_api.py and also added max_tries(default value is 3) with delay (sleep) between successive API calls. The dealy actually improves the performace of the availability_api interface. Akash Mahanty 2022-01-23 15:05:10 +0530
  • e7488f3a3e added test badge, rename test to Tests from ubuntu and fix the Incomplete URL substring sanitization(or trying to) Akash Mahanty 2022-01-23 02:26:53 +0530
  • aed75ad1db Make modules imprtable as part of a Python package, waybackpy by creating __init__.py file in tests Akash Mahanty 2022-01-23 02:14:38 +0530
  • d740959c34 more dev reqs Akash Mahanty 2022-01-23 02:10:12 +0530
  • 2d83043ef7 + flake8 in requirements-dev.txt Akash Mahanty 2022-01-23 02:05:08 +0530
  • 31b1056217 fix typo in CI Akash Mahanty 2022-01-23 02:03:30 +0530
  • 97712b2c1e add CI unit_test.yml Akash Mahanty 2022-01-23 02:00:15 +0530
  • a8acc4c4d8 Fix Incomplete URL substring sanitization in the last commit. Akash Mahanty 2022-01-23 01:42:48 +0530
  • 1bacd73002 created pytest.ini, added test for waybackpy/availability_api.py, new exceptions all of which inherit from the main WaybackError and created requirements-dev.txt Akash Mahanty 2022-01-23 01:29:07 +0530
  • 79901ba968 updated README.md Akash Mahanty 2022-01-22 03:08:26 +0530
  • df64e839d7 added trove classifiers for python 3.10 Akash Mahanty 2022-01-22 00:57:10 +0530
  • 405e9a2a79 waybackpy/save_api.py : Added doc strings and also lint with black. Akash Mahanty 2022-01-22 00:41:10 +0530
  • db551abbf6 lint waybackpy/cdx_api.py and added some doc strings Akash Mahanty 2022-01-22 00:11:35 +0530
  • d13dd4db1a added notice on waybackpy/wrapper.py that the Url class will cease to exist after 2024-01-01 and also removed unused imports. Akash Mahanty 2022-01-21 23:14:20 +0530
  • d3bb8337a1 make setup.py smarter, now no need to update the URL again and also added more keywords. And in __version__.py updated the __author__ Akash Mahanty 2022-01-21 23:01:09 +0530
  • fd5e85420c waybackpy/availability_api.py : removed unused imports, added doc strings, removed redundant function. Akash Mahanty 2022-01-21 22:47:44 +0530
  • 5c685ef5d7
    upload logo and make p path not text Akash Mahanty 2022-01-21 21:11:42 +0530
  • 6a3d96b453
    Logo (#113) Akash Mahanty 2022-01-21 21:02:38 +0530
  • 31110b7cf5
    Delete logo.txt Akash Mahanty 2022-01-21 21:02:07 +0530
  • eed35e2b4a
    Add files via upload Akash Mahanty 2022-01-21 21:01:53 +0530
  • d2afda46c4
    Delete waybackpy_logo.svg Akash Mahanty 2022-01-21 21:01:34 +0530
  • f22dc463b3
    Create logo.txt Akash Mahanty 2022-01-21 21:01:08 +0530
  • afe1b15a5f
    Add files via upload Akash Mahanty 2022-01-21 20:58:53 +0530
  • 4fd9d142e7
    Merge pull request #112 from akamhy/fix Akash Mahanty 2022-01-21 19:52:55 +0530
  • 5e9fdb40ce
    escape '.' before 'archive.org' Akash Mahanty 2022-01-21 19:51:08 +0530
  • fa72098270
    _get_response is not used anymore Akash Mahanty 2022-01-21 19:43:35 +0530
  • d18f955044
    date year range 2020-2022 Akash Mahanty 2022-01-21 11:55:42 +0530
  • 9c340d6967
    Create codeql-analysis.yml Akash Mahanty 2022-01-21 11:12:59 +0530
  • 78d0e0c126
    Update README.md Akash Mahanty 2022-01-21 09:54:04 +0530
  • 564101e6f5
    🐳 for docker image Akash Mahanty 2022-01-21 01:23:05 +0530
  • de5a3e1561
    improve usage code 3.0.0 Akash Mahanty 2022-01-18 21:18:17 +0530
  • 52e46fecc2
    more usage example Akash Mahanty 2022-01-18 20:58:39 +0530
  • 3b6415abc7
    updating examples Akash Mahanty 2022-01-18 20:44:47 +0530
  • 66e16d6d89 define __repr__ for the Availability API class Akash Mahanty 2022-01-18 20:34:21 +0530
  • 16b9bdd7f9 output the file name if known_url and file flag are passed. Akash Mahanty 2022-01-18 20:14:44 +0530
  • 7adc01bff2 implement known_urls for cli from the newer interface. Although use of CDX is recommended but backward-compatibility matters. Akash Mahanty 2022-01-18 20:07:12 +0530
  • 9bbd056268
    Update README.md Akash Mahanty 2022-01-17 02:15:38 +0530
  • 2ab44391cf
    close #107, added link to SecSI/Docker image Akash Mahanty 2022-01-16 23:01:31 +0530
  • cc3628ae18 define __str__ for objects of WaybackMachineAvailabilityAPI class, the check for self.JSON ensures that the API was atleast called. Akash Mahanty 2022-01-16 22:28:12 +0530
  • 1d751b942b invoke json, was a bad idea removing it the earlier commit as the end user should not have to call it Akash Mahanty 2022-01-16 22:15:25 +0530
  • 261a867a21 near() method of WaybackMachineAvailabilityAPI return self to preserve past behaviour Akash Mahanty 2022-01-16 21:53:54 +0530
  • 2e487e88d3 define __len__ on Url objects, if any method not used prior to len op then default to len of oldest archive. Akash Mahanty 2022-01-16 21:29:43 +0530
  • c8d0ad493a defined __str__ for Url objects, print func should print the url. Akash Mahanty 2022-01-16 21:22:43 +0530
  • 0835cf3dcf Pin requests to latest version 2.26.0 pyup-bot 2022-01-02 16:07:51 +0530
  • 4bf302a63e Pin click to latest version 8.0.3 pyup-bot 2022-01-02 16:07:08 +0530
  • 15562d4f22 Pin requests to latest version 2.26.0 pyup-bot 2022-01-02 16:06:52 +0530
  • ce869177fd
    Merge pull request #103 from akamhy/whitesource/configure Akash Mahanty 2022-01-02 16:04:15 +0530
  • 58616fb986
    Add .whitesource configuration file whitesource-bolt-for-github[bot] 2022-01-02 08:45:07 +0000
  • 586c81c144 Pin requests to latest version 2.26.0 pyup-bot 2022-01-02 14:15:06 +0530
  • aa5b1aafd2 Pin click to latest version 8.0.3 pyup-bot 2022-01-02 14:15:04 +0530
  • 4e68cd5743 Create separate module for the 3 different APIs also CDX is now CLI supported. Akash Mahanty 2022-01-02 14:14:45 +0530
  • a7b805292d
    changes made for v2.4.4 (update download_url) (#100) 2.4.4 akamhy 2021-09-03 11:28:26 +0530
  • 6ecf51da7f
    +1 akamhy 2021-09-03 11:25:31 +0530
  • 2c05c4bce9
    v2.4.4 (update __version__) akamhy 2021-09-03 11:23:07 +0530
  • 3e4dcaea3f
    v2.4.4 (update download_url) akamhy 2021-09-03 11:21:01 +0530
  • 6dc6124dc4
    Raise error on a 509 response (too many sessions) (#99) Jonáš Jančařík 2021-09-03 04:34:36 +0200
  • adb20fc54f Raise error on a 509 response (too many sessions) - linting Jonáš Jančařík 2021-08-31 12:58:09 +0200
  • ffb1df87a6
    Raise error on a 509 response (too many sessions) Jonáš Jančařík 2021-08-30 16:20:14 +0200
  • 5a7fc7d568
    Fix typo (#95) Jens Finkhaeuser 2021-04-13 13:28:34 +0200
  • eaf0423f48
    Fix typo Jens Finkhaeuser 2021-04-13 10:39:51 +0200
  • 5a9c861cad
    v2.4.3 (#94) 2.4.3 Akash Mahanty 2021-04-02 10:41:59 +0530
  • 0ce9351f72
    2.4.3 Akash Mahanty 2021-04-02 10:40:26 +0530
  • 2e10067613
    2.4.3 Akash Mahanty 2021-04-02 10:39:20 +0530
  • dd1917c77e
    added RedirectSaveError - for failed saves if the URL is a permanent … (#93) Akash Mahanty 2021-04-02 10:38:17 +0530
  • 6755d4d015 update tests and cli errors Akash Mahanty 2021-04-02 10:28:08 +0530
  • 8d2cc112c1 check if url is redirect before throwing exceptions, res.url is the redirect url if redirected at all Akash Mahanty 2021-04-02 09:55:11 +0530
  • 8171c8e394 added RedirectSaveError - for failed saves if the URL is a permanent redirect. Akash Mahanty 2021-04-02 00:35:26 +0530
  • db8f902cff
    Add doc strings (#90) Akash Mahanty 2021-01-26 11:56:03 +0530
  • 31e3eaeab8 fix import error Akash Mahanty 2021-01-26 11:53:01 +0530
  • acebfabc3e added more docstrings, lint Akash Mahanty 2021-01-26 11:42:29 +0530
  • 817c0ee844 docstrings Akash Mahanty 2021-01-26 02:13:52 +0530
  • 7e2b51b155 improve docstrings Akash Mahanty 2021-01-25 23:47:28 +0530
  • 36ab6405be more docstrings Akash Mahanty 2021-01-25 23:18:09 +0530
  • 5e2fac666a added more docstrings Akash Mahanty 2021-01-25 22:50:17 +0530
  • 0a241818ff renamed some func/meth to better names and added doc strings + lint Akash Mahanty 2021-01-25 21:11:49 +0530
  • d1061bfdc8 Added some docstrings in utils.py Akash Mahanty 2021-01-25 20:37:59 +0530
  • 88cda94c0b
    v2.4.2 (#89) 2.4.2 Akash Mahanty 2021-01-24 17:03:35 +0530
  • a56e16f75d
    v2.4.2 Akash Mahanty 2021-01-24 17:03:03 +0530
  • 7b66b243b2
    v2.4.2 Akash Mahanty 2021-01-24 17:02:25 +0530
  • 09290f88d1 fix one more error Akash Mahanty 2021-01-24 16:58:53 +0530
  • e5835091c9 import re Akash Mahanty 2021-01-24 16:56:59 +0530
  • 7312ed1f4f set cached_save to True if archive older than 3 mins. Akash Mahanty 2021-01-24 16:53:36 +0530
  • 6ae8f843d3
    add --file to --known_urls Akash Mahanty 2021-01-24 16:15:11 +0530
  • 36b936820b
    known urls now yileds, more reliable. And save the file in chucks wrt to response. --file arg can be used to create output file, if --file not used no output will be saved in any file. (#88) Akash Mahanty 2021-01-24 16:11:39 +0530
  • 7c0e53e46a known urls now yileds, more reliable. And save the file in chucks wrt to response. --file arg can be used to create output file, if --file not used no output will be saved in any file. Akash Mahanty 2021-01-24 16:07:11 +0530
  • a3bc6aad2b too much API usage by duplicate tests was causing too much tests failure Akash Mahanty 2021-01-23 21:08:21 +0530
  • edc2f63d93 Output valid JSON, dumps python dict. Make JSON valid. Akash Mahanty 2021-01-23 20:43:52 +0530
  • 7f45a8fea6 CLI should output valid JSON, not python dict eatcha 2021-01-23 20:31:03 +0530