Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation #185

Open
wants to merge 229 commits into
base: master
Choose a base branch
from
Open

Improve documentation #185

wants to merge 229 commits into from

Commits on Jan 17, 2021

  1. Update .gitignore

    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    03c6708 View commit details
    Browse the repository at this point in the history
  2. tumblr_backup: Fix shebang and encoding

    On many systems, python refers to Python 3.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    eea8680 View commit details
    Browse the repository at this point in the history
  3. tumblr_backup: Support Python 3

    Fixes bbolli#87
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    13d0f61 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    feefb65 View commit details
    Browse the repository at this point in the history
  5. tumblr_backup: Better handling of integer options and cookiefile

    Certain options should never be negative, and a count of zero should
    actually download zero posts, not all of them. Also, make sure we can
    read cookiefile before we back up any blogs.
    
    Included revisions:
    - Add check for confusing -i -n 0
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    8515c04 View commit details
    Browse the repository at this point in the history
  6. tumblr_backup: Fix excessive memory usage while building the index

    Posts are now read from disk each time they are needed, instead of
    keeping them all in memory.
    
    This is especially needed when --save-notes is used with a large blog,
    as this often results in many gigabytes worth of HTML that does not fit
    into free memory all at once.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    aa834b6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c89b45a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    62f8490 View commit details
    Browse the repository at this point in the history
  9. tumblr_backup: Avoid TOCTOU when checking self.queue.qsize()

    qsize() acquires a mutex on the queue, which is shared between threads.
    Read it only once to avoid a race condition.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    c5a80db View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    be270ff View commit details
    Browse the repository at this point in the history
  11. tumblr_backup: Linting and cleanup

    Included revisions:
    - Make typing optional
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    fdad7b3 View commit details
    Browse the repository at this point in the history
  12. tumblr_backup: Migrate from optparse to argparse

    Included revisions:
    - Saner non-option arguments
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    10cf897 View commit details
    Browse the repository at this point in the history
  13. tumblr_backup: --save-notes

    Included revisions:
    - Remove log_queue, better status and account logic
    - Better tracking and synchronization on ThreadPool.queue.qsize
    - Remove remaining_posts
    - Remove getting_tup
    - Put back the account parameter
    
    Fixes bbolli#169
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    edefd50 View commit details
    Browse the repository at this point in the history
  14. note_scraper: Make typing optional

    Fixes #1
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    5ed50e0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4c419b5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6be1a92 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9086f93 View commit details
    Browse the repository at this point in the history
  18. tumblr_backup: --filter

    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    2a0703c View commit details
    Browse the repository at this point in the history
  19. tumblr_backup: --json-dirs

    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    6e09e35 View commit details
    Browse the repository at this point in the history
  20. tumblr_backup: --json-dirs -> --prev-archives

    Behaves similar to cp -u or or rsync when copying local files into the
    media directory.
    
    Included revisions:
    - Use prev_archive for style.css
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    5e20a61 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    7567ca2 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9411b43 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2cb67f2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e7dffb1 View commit details
    Browse the repository at this point in the history
  25. tumblr_backup: Fix URL path logic, get_media_url and get_filename

    - posixpath provides functions to split and join paths compatible with
      URLs, so there is no need to manually split on and insert slashes.
    - get_media_url would return the saved filename instead of the URL if the
      download fails, unlike get_image_url. Fix it to be consistent.
    - get_filename now applies the extension to generated filenames if it is
      known, and uses urlparse to make sure the filename comes only from the
      path part of the URL.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    6bb9ec7 View commit details
    Browse the repository at this point in the history
  26. tumblr_backup: Support backup of over 1000 likes

    Based on PR bbolli#114 by @aggroskater
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    d380d09 View commit details
    Browse the repository at this point in the history
  27. tumblr_backup: --likes: Support new API behavior

    The API has apparently changed since aggroskater's fork was written.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    a01e0a1 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    585141e View commit details
    Browse the repository at this point in the history
  29. tumblr_backup: Clearly explain why the backup stopped

    This is especially helpful if less posts were backed up than the user
    expected.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    2f07acd View commit details
    Browse the repository at this point in the history
  30. tumblr_backup: Disallow --prev-archives on outdir

    Reading from and writing to a JSON directory simultaneously is not
    supported by --prev-archives. Tell the user to use --reuse-json for
    that.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    989bb65 View commit details
    Browse the repository at this point in the history
  31. tumblr_backup: Correctly sort responses read from disk

    Correctly sort responses to avoid breaking most timestamp/id related
    options. Everything was in reverse order and the key was wrong for
    likes.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    e50b082 View commit details
    Browse the repository at this point in the history
  32. tumblr_backup: Support "before" parameter in --prev-archives mode

    Without this, the combination of --prev-archives and --period does not
    work.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    0628eb3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    9c8142e View commit details
    Browse the repository at this point in the history
  34. tumblr_backup: Suppress early creation of post_dir

    Use path_to instead of open_file to avoid creating directories
    unnecessarily early.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    d59e628 View commit details
    Browse the repository at this point in the history
  35. tumblr_backup: Implement wget module

    Uses urllib3 and a temporary file to make downloading media smoother.
    Also supports various modes of timestamping, inspired by wget.
    
    Included revisions:
    - Fix urllib3 status code handling
    - Cleanup fsync logic
    - Specific type: ignore comments
    - Cleanup file_isfat and merge into util.py
    - note_scraper: Smarter handling of cookies and error messages
    - Remove enospc handler
    - Use os.supports_dir_fd
    - No more log_queue
    - Global, abstract no_internet
    - Support "canceled" WaitOnMainThread status
    - Fix "TypeError: 'bytes' object does not support item assignment"
    - Fix some incorrectly sorted imports
    
    Fixes bbolli#201
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    119d074 View commit details
    Browse the repository at this point in the history
  36. tumblr_backup: Prevent a deadlock in ThreadPool.cancel

    Create WaitOnMainThread.destroy, and use it to prevent blocking in
    signal() when we're trying to stop the thread.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    13ca77d View commit details
    Browse the repository at this point in the history
  37. wget: Support chunked Transfer-Encoding with non-identity Content-Enc…

    …oding
    
    decode_content=True is necessary for chunked responses if we want to
    decode them.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    93fa32d View commit details
    Browse the repository at this point in the history
  38. tumblr_backup: Fix requests import (part 1)

    Importing requests from pip is tricky. Fix a potential recursive import.
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    5d8b51b View commit details
    Browse the repository at this point in the history
  39. wget: Make it work on Windows

    Windows does not support os.open() of directories, os.fchmod(), or
    os.fdatasync().
    
    Fixes #4
    cebtenzzre committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    4f274ab View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Configuration menu
    Copy the full SHA
    8b132b1 View commit details
    Browse the repository at this point in the history
  2. tumblr_backup: Use the internal SVC API to access dashboard-only blogs

    Also add tumblr_login.py to generate cookies without a browser.
    Credit to @johanneszab for the C# implementation in TumblThree.
    Credit to @MrEldritch for the initial Python port.
    
    Fixes bbolli#161
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    9be9059 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d023cb4 View commit details
    Browse the repository at this point in the history
  4. tumblr_backup: Fix requests import (part 2)

    Importing requests from pip is tricky. Fix a potential recursive import.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    5da5f23 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f032208 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4453257 View commit details
    Browse the repository at this point in the history
  7. tumblr_backup: Busy waiting -> proper synchronization

    Included revisions:
    - The API thread is now a daemon thread that is quit and joined after
      the backup pool is canceled
    - Try to shut down more reliably (join-except-cancel, idempotent
      AsyncCallable.quit)
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    c8bd5e0 View commit details
    Browse the repository at this point in the history
  8. tumblr_backup: Worker early-stop and graceful SIGTERM/SIGHUP

    Included revisions:
    - Be more paranoid to avoid swallowing exceptions
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    d7472a8 View commit details
    Browse the repository at this point in the history
  9. tumblr_backup: --continue and related new behavior

    Included revisions:
    - Allow setting options in BACKUP_CHANGING_OPTIONS to match the backup
    - Fix incorrectly sorted imports
    - Use lists in a few places for consistency with JSON
    - Set before to oldest_tstamp even without --period
    - Fix argument check to allow --auto 0
    - Pass all path parts to open_text in save_post to ensure mkdir
    
    Fixes bbolli#115
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    34a2abc View commit details
    Browse the repository at this point in the history
  10. tumblr_backup: Better --count 0

    Don't bother spinning up a thread pool or calling out to the API.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    3c304de View commit details
    Browse the repository at this point in the history
  11. tumblr_backup: --no-get

    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    6fafb0e View commit details
    Browse the repository at this point in the history
  12. tumblr_backup: Use .first_run_options of --prev-archives

    This allows the script to find media files in a structure other than the
    one it is saving them in.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    e2c50cd View commit details
    Browse the repository at this point in the history
  13. tumblr_backup: Flag to allow continue with different options

    This is a reuse of the option previously called --continue=ignore.
    Sometimes it is useful to resume a backup with new
    BACKUP_CHANGING_OPTIONS (such as --count).
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    7d051eb View commit details
    Browse the repository at this point in the history
  14. tumblr_backup: Better logging of what posts are being backed up

    Incremental and resume modes only back up certain posts, setting a
    start or end to the range. Make this clear to the user so they don't
    assume that it is a full backup, especially because the "expected" count
    appears to indicate that it is.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    510d7a2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c2aaa0c View commit details
    Browse the repository at this point in the history
  16. tumblr_backup: save_post now calls get_content, JSON first

    Posts that failed to save (e.g., if urllib3 throws a fatal error) were
    difficult to recover from. Now content is lazy so save_post can save
    JSON first and report if it can't save the HTML.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    d5f4512 View commit details
    Browse the repository at this point in the history
  17. tumblr_backup: Better rate limit handling

    Add rate limit sleeping inspired by gallery-dl, and make the response
    status logic more robust.
    
    Included revisions:
    - Fix format arguments
    - Wait an extra second to be sure we're past the ratelimit reset
    - Add missing try_count increment
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    1336a2e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    60305d3 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f8ee556 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    775ef1a View commit details
    Browse the repository at this point in the history
  21. tumblr_backup: Refine urllib3 retry configuration

    This changes the way status codes 429, 503, and 504 are handled.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    cf34845 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9bfcd78 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4b7189e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    5e9ec68 View commit details
    Browse the repository at this point in the history
  25. wget: Handle certain Cloudflare status codes like connection errors

    Included revisions:
    - Don't assume there is a Server header in HTTP responses
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    5035f1e View commit details
    Browse the repository at this point in the history
  26. tumblr_backup: Defer .first_run_options creation

    Writing this file later saves us from a confusing, pointless empty blog
    directory if the first API request fails.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    7c4b1e2 View commit details
    Browse the repository at this point in the history
  27. tumblr_backup: --continue only downloads new posts, act like it

    The post offset is now clearer and --no-post-clobber is turned on when
    using --continue.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    73a6f7a View commit details
    Browse the repository at this point in the history
  28. note_scraper: Detect dashboard-only blogs

    This condition is like safe mode - there is no no usable notes list. In
    this case, there is a notes list, but not in an easily parsable format.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    9a6aab7 View commit details
    Browse the repository at this point in the history
  29. tumblr_backup: Don't signal dead threads

    Make sure of this with a lock. And if we do somehow signal a dead PID,
    ignoring it is the most reasonable option.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    4680a75 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    5d2caca View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    0ffee2b View commit details
    Browse the repository at this point in the history
  32. tumblr_backup: Make it work on Windows

    Windows does not support os.open() of directories, os.fchmod(), or
    os.fdatasync().
    
    Related to #4
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    e5ffad5 View commit details
    Browse the repository at this point in the history
  33. tumblr_backup: Declare wget_retrieve early

    This silences a name-error from pytype.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    b178443 View commit details
    Browse the repository at this point in the history
  34. tumblr_backup: Remove thread killing code

    I apparently overlooked some information in [1], which says:
    
      However, if the target thread is executing the Python interpreter,
      the Python signal handlers will be executed by the main thread of the
      main interpreter. Therefore, the only point of sending a signal to a
      particular Python thread would be to force a running system call to
      fail with InterruptedError.
    
    Further, [2] notes:
    
      Changed in version 3.5: Python now retries system calls when a syscall
      is interrupted by a signal, except if the signal handler raises an
      exception (see PEP 475 for the rationale), instead of raising
      InterruptedError.
    
    So after Python 3.5, there is no use for signal.pthread_kill. It cannot
    do what it does in C, which is send a signal to a spefic thread - at
    best, the thread will wake up with EINTR and then resume the system
    call.
    
    Also, the sys.exc_info() check was wrong: There will always be an active
    KeyboardInterrupt exception in a signal handler. This means that the
    pthread_kill() never had any effect, masking the fact that only the main
    thread received the signal.
    
    The signal handlers are being kept because they are still useful if the
    program receives SIGTERM or SIGHUP, allowing resources to be cleaned up
    via exception handling instead of being left for the OS to deal with.
    
    [1] https://docs.python.org/3/library/signal.html#signal.pthread_kill
    [2] https://docs.python.org/3/library/exceptions.html#InterruptedError
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    4048ec6 View commit details
    Browse the repository at this point in the history
  35. tumblr_backup: Fix a few "type: ignore" comments

    There were three "type: ignore" comments that were not specific and
    ignored all type errors. Make one of them specific. Remove the other two
    since python/typeshed#4544 was merged and they are no longer needed.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    290a734 View commit details
    Browse the repository at this point in the history
  36. tumblr_backup: Fix image_names usage in get_filename

    This method was meant to be using the "image_names" parameter as of
    commit 3cac7d8 ("tumblr_backup: Use .first_run_options of
    --prev-archives"), but was still using options.image_names.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    c6fb901 View commit details
    Browse the repository at this point in the history
  37. wget: Handle certain Cloudflare status codes like connection errors

    Included revisions:
    - Don't assume there is a Server header in HTTP responses
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    7ba4651 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    20f64e9 View commit details
    Browse the repository at this point in the history
  39. note_scraper: Detect dashboard-only blogs

    This condition is like safe mode - there is no no usable notes list. In
    this case, there is a notes list, but not in an easily parsable format.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    c744bba View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    fed765a View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    85d78e7 View commit details
    Browse the repository at this point in the history
  42. tumblr_backup: Declare wget_retrieve early

    This silences a name-error from pytype.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    36e9f90 View commit details
    Browse the repository at this point in the history
  43. wget: Handle certain Cloudflare status codes like connection errors

    Included revisions:
    - Don't assume there is a Server header in HTTP responses
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    0af57c6 View commit details
    Browse the repository at this point in the history
  44. tumblr_backup: Insert query strings into media filenames

    This prevents ambiguity for URLs such as SoundCloud embeds that do not
    have a unique filename (for SoundCloud embeds it is "stream").
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    84b71eb View commit details
    Browse the repository at this point in the history
  45. tumblr_backup: More informed media timestamps

    Use post timestamp information to find more plausible timestamps for
    media. Tumblr's Last-Modified headers are usually not accurate and often
    years off.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    8c325da View commit details
    Browse the repository at this point in the history
  46. tumblr_backup: Remove --timestamping and related options

    This code never worked well with Tumblr media because the Last-Modified
    timestamp is hit-or-miss. This only removes the conditional get code;
    files are still given mtime based on the Last-Modified header.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    579b8ec View commit details
    Browse the repository at this point in the history
  47. wget: Typing fixups

    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    e0922eb View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    64984fb View commit details
    Browse the repository at this point in the history
  49. wget: Call IO.flush() before os.utime() to avoid clobbering mtime

    Calling os.utime() on a file that may (and likely does) have data left
    in a userspace buffer is a bad move, as the next write() call will
    clobber the modification time. Flush the buffer early to prevent this.
    cebtenzzre committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    fceb8c6 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    ef31f29 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    da2621e View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    e65e541 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. wget: Improve SSL alternative injection code

    Consider using SecureTransport if the linked OpenSSL doesn't support
    SNI, and print a warning if either SecureTransport or pyOpenSSL cannot
    be injected.
    
    Related to #5
    cebtenzzre committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    500b827 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d89e9cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d05d593 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Update README.md

    Include some information about this fork and its differences from
    upstream tumblr-utils.
    cebtenzzre committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    95ea710 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6462af View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Configuration menu
    Copy the full SHA
    9879181 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    373254a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c9fa5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    137544f View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2021

  1. wget: Fix incorrect attribute name in --internet-archive code

    There is no `WGWrongCodeError.reason`, only `WGWrongCodeError.statmsg`.
    cebtenzzre committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    69886a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    486cf74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fbd20e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    99c42d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6e7a042 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. tumblr_backup: Do not allow slashes in blog names

    Accidental directory separators allow some of the code to function while
    other code does the wrong thing. Don't allow them, and also disallow the
    special "." and ".." directories.
    cebtenzzre committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    bc43e85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ec09ee View commit details
    Browse the repository at this point in the history
  3. tumblr_backup: Honor --no-get in get_avatar and get_style

    Previously, we ignored --no-get in these functions unless
    --prev-archives was passed. But --no-get also applies to --reuse-json,
    so don't ignore it in that case.
    cebtenzzre committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0fec63f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d185e95 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. tumblr_backup: Cleanup lint

    - Remove an unused global
    - Add two not-None asserts
    - Assume EnvironmentError has an errno field
    - wget: Remove unused "options" parameters
    cebtenzzre committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    d509eb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcafee7 View commit details
    Browse the repository at this point in the history
  3. tumblr_backup: Implement log levels

    --quiet is more useful now.
    cebtenzzre committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    e0f3e3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e2a4f1 View commit details
    Browse the repository at this point in the history
  5. tumblr_backup: Replace pyjq dependency with jq.py

    jq.py is more popular and easier to get wheels and packages for. Arch
    Linux updated to Python 3.10, and I cannot even `pip install pyjq` due
    to deprecation issues, whereas jq.py is provided by the "python-jq"
    package and is straightforward to install and keep updated.
    cebtenzzre committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    8df232d View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Configuration menu
    Copy the full SHA
    06d062e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c07eff2 View commit details
    Browse the repository at this point in the history
  3. tumblr_backup: Cleanup

    - Cleanup jq_filter/request_sets code
    - Cleanup ratelimit code
    - Assume EnvironmentError has an errno field
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    a432950 View commit details
    Browse the repository at this point in the history
  4. tumblr_backup: Avoid print() and print_exc() for logging

    Be consistent with how we log warnings and errors.
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    c57892b View commit details
    Browse the repository at this point in the history
  5. tumblr_backup: Fix blog title

    get_content sets the post title, which I didn't realize when I made post
    content lazy.
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    c342c3f View commit details
    Browse the repository at this point in the history
  6. tumblr_backup: Preload bs4

    First, in case we're using forkserver mode it will probably improve note
    scraping performance. Second, it stops the script early if it is
    unavailable.
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    6594748 View commit details
    Browse the repository at this point in the history
  7. tumblr_backup: Improve youtube_dl import

    - Prefer yt_dlp if available
    - Check for module availability early, but still load lazily
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    a54b63b View commit details
    Browse the repository at this point in the history
  8. tumblr_backup: Improve --reuse-json

    Require scandir, and support --reuse-json with --copy-notes to preserve
    existing notes.
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    ab26d7e View commit details
    Browse the repository at this point in the history
  9. tumblr_backup: Fix --no-get

    If --no-get blocked a download before, it would have skipped the
    download but left a reference to the nonexistent file. Treat it like a
    failed download instead so we get a valid URL.
    cebtenzzre committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    be07d70 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. tumblr_backup: Fix --period

    Commit e7dffb1 "tumblr_backup: Use before parameter to implement
    --period" wasn't a working solution. After actually testing it I landed
    on this, which walks posts by timestamp instead of offset.
    
    Also fix a type mismatch with the before paramter for liked posts: it
    should always be a number, not str.
    cebtenzzre committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    9ed6539 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f7355e View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Configuration menu
    Copy the full SHA
    6ba4c14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3582d8d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51effe9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    701211d View commit details
    Browse the repository at this point in the history
  5. tumblr_backup: Default --copy-notes to True sometimes

    --no-copy-notes can be used to disable this behavior if bs4 is not
    available.
    cebtenzzre committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    11f8501 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. tumblr_backup: update BACKUP_CHANGING_OPTIONS

    I kinda forgot about this tuple for a little while.
    cebtenzzre committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    733dc1e View commit details
    Browse the repository at this point in the history
  2. tumblr_backup: make a mutually exclusive group

    argparse has this functionality built-in. Also, prohibit the combination
    of --reuse-json and options that skip existing posts because nothing
    would be done.
    cebtenzzre committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    e059f39 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. wget: Work around fsync issues on macOS

    On macOS, there is no fdatasync. And fsync does not mean what it usually
    means, so try F_FULLSYNC first.
    
    See also: https://bugs.python.org/issue39640
    
    Fixes #7
    cebtenzzre committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    f15ed7c View commit details
    Browse the repository at this point in the history
  2. util: Fix F_FULLFSYNC typo

    It's called F_FULLFSYNC.
    cebtenzzre committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    08b36bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21f1698 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. tumblr_backup: drop Python 2.7 support

    Typeshed PR 8272 dropped Python 2.7 support from stubs. Because of this,
    mypy will soon be unable to typecheck Python 2.7 code. It's been
    unsupported for over two years now, so let's bump the minimum supported
    version to Python 3.6.
    cebtenzzre committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    ddf32ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ada89d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e4a6f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5c92ee3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c733a9b View commit details
    Browse the repository at this point in the history
  6. tumblr_backup: More flexible --period

    Support UTC dates and an explicit end to the period. Both are useful for
    backing up a specific range of Tumblr posts by date.
    cebtenzzre committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    332f2af View commit details
    Browse the repository at this point in the history
  7. tumblr_backup: Refine urllib3 retry configuration

    This changes the way status codes 429, 503, and 504 are handled.
    cebtenzzre committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    86d12ca View commit details
    Browse the repository at this point in the history
  8. wget: Retry on HTTP 500 Internal Server Error

    Tumblr servers are prone to transient HTTP 500 errors. Retry so we're
    less likely to skip media.
    cebtenzzre committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    72a3432 View commit details
    Browse the repository at this point in the history
  9. tumblr_backup: Handle jq StopIteration

    first() raises StopIteration if the filter results in an empty output.
    This also moves the filter check before the --no-post-clobber check for
    a more meaningful filter_skipped statistic.
    cebtenzzre committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    babf2ce View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. tumblr_backup: Shut up about media timestamps

    This feature isn't new anymore, so we don't need to log so verbosely to
    indicate that it still works.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    d7634d2 View commit details
    Browse the repository at this point in the history
  2. wget: Handle redirect connection errors better

    Pass the retries parameter to poolman.request, since for redirects the
    one passed to the constructor is ignored. Also, derive the host
    information from the exception and not the original request URL so we
    blame the right host in case of a redirect.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    3a54428 View commit details
    Browse the repository at this point in the history
  3. tumblr_backup: better failure handling for likes

    Do not attempt to use the svc API, and print a specific message in
    response to a 403.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    f4db4c3 View commit details
    Browse the repository at this point in the history
  4. tumblr_backup: Never overwrite in maybe_copy_media

    Modification times don't mean much here since we are mostly guessing
    them from post dates, and in some cases media is actually removed by
    Tumblr so we would like to preserve what we already have.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    c0ea269 View commit details
    Browse the repository at this point in the history
  5. tumblr_backup: Print a message after cancelling

    The "Stopping threads ..." message gets overwritten, so put something in
    the output that makes it clear what happened.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    dcb14b6 View commit details
    Browse the repository at this point in the history
  6. misc typing fixes

    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    570ecb8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bda4c7d View commit details
    Browse the repository at this point in the history
  8. tumblr_backup: Allow --continue of complete backup

    This is useful to start from where a complete backup left off if --count
    or --period was given.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    bef8694 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b66db61 View commit details
    Browse the repository at this point in the history
  10. tumblr_backup: Only search all posts for timestamp if --likes

    If --likes is not given, we can avoid searching all posts for a
    timestamp because we know it will be the first/last post by ID.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    0728c44 View commit details
    Browse the repository at this point in the history
  11. tumblr_backup: record orig_options AFTER setting implied options

    Otherwise, "backup changing" options that are implied by other options
    are reset in process_existing_backup.
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    e03d2e2 View commit details
    Browse the repository at this point in the history
  12. tumblr_backup: misc bugfixes

    - fix yt-dlp support
    - correctly handle the case where X-Ratelimit-Perday-Reset is missing
    cebtenzzre committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    dce1b8a View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. note_scraper: update HTTP 429 handling

    Handle a comma in the X-Rate-Limit-Reset header of an HTTP 429 'Too Many
    Requests' response. I don't know what it's supposed to mean, because the
    number on each side is the same.
    cebtenzzre committed May 11, 2023
    Configuration menu
    Copy the full SHA
    aaebc81 View commit details
    Browse the repository at this point in the history
  2. tumblr_backup: don't abuse copyfile

    Passing file descriptors to our implementation of copyfile can cause
    problems if copy_file_range fails and falls back to shutil.copyfile, as
    the file descriptor may be closed already. Pass file paths instead. It's
    less safe in theory, but it's simpler in practice.
    cebtenzzre committed May 11, 2023
    Configuration menu
    Copy the full SHA
    1881fae View commit details
    Browse the repository at this point in the history
  3. wget: add HTTP 502 'Bad Gateway' to retry list

    This can happen when trying to access a lot of images, and is usually a
    temporary error.
    cebtenzzre committed May 11, 2023
    Configuration menu
    Copy the full SHA
    d15e9d4 View commit details
    Browse the repository at this point in the history
  4. tumblr_backup: remove python2-style super() calls

    In Python 3, super() can typically be called with zero arguments.
    cebtenzzre committed May 11, 2023
    Configuration menu
    Copy the full SHA
    2cf5b30 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. tumblr_backup: don't log '0 remaining posts'

    Instead of appearing stuck, tell the user that we are watiting on worker
    threads and aren't quite done yet.
    cebtenzzre committed May 15, 2023
    Configuration menu
    Copy the full SHA
    df62fd8 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. wget: improve readability of logging messages

    Also, add the post ID to the information logged for a failure to
    download a file.
    cebtenzzre committed May 16, 2023
    Configuration menu
    Copy the full SHA
    9c08339 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    608f3c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0e6b81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f78efef View commit details
    Browse the repository at this point in the history
  5. util: remove explicit brotlipy detection

    urllib3 has supported both brotlipy and Google brotli for a long time.
    This check unnecesarrily required that brotlipy was both installed and
    available as 'brotli' and not just 'brotlicffi'.
    
    requests automatically enables brotli support when available since
    v2.26.0 from July 2021, so remove the broken check.
    cebtenzzre committed May 16, 2023
    Configuration menu
    Copy the full SHA
    5bf0310 View commit details
    Browse the repository at this point in the history
  6. tumblr_backup: support filetype as an imghdr alternative

    imghdr is deprecated as of python 3.11. Support the filetype module as
    an alternative, and suggest it to users of python 3.11+.
    cebtenzzre committed May 16, 2023
    Configuration menu
    Copy the full SHA
    f89c663 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Configuration menu
    Copy the full SHA
    c442dbd View commit details
    Browse the repository at this point in the history
  2. tumblr_backup: handle HTTP 420 'Enhance Your Calm'

    I have seen this with the note scraper and media downloader so far.
    cebtenzzre committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    76510b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc85196 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b91b05 View commit details
    Browse the repository at this point in the history
  5. note scraper: fix safe mode check

    There are no notes embeded in the HTML of "login required" blogs, which
    now redirect to URIs like the following:
    
    https://www.tumblr.com/blog-name/123456789/the-post-title
    cebtenzzre committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    f819cce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e3be708 View commit details
    Browse the repository at this point in the history
  7. tumblr_backup: make optional imports typecheck better

    mypy understands imports better if you use them directly instead of
    returning them from a function.
    cebtenzzre committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    2035715 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a008915 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Configuration menu
    Copy the full SHA
    e5d80ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0081c1 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. tumblr_backup: fix ModuleNotFoundError on Windows

    fcntl is only available on *nix. We only need it for Darwin, anyway.
    cebtenzzre committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    91348e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ddfe7d View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. tumblr_backup: --skip-dns-check option

    This option allows the user to work around issues with Google DNS being
    unavailable or extremely high-latency.
    cebtenzzre committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    91d872a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2aecc4 View commit details
    Browse the repository at this point in the history
  3. wget: remove current_url hack

    This hack doesn't work on newer urllib3. Use HTTPResponse.geturl()
    instead.
    cebtenzzre committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    73007b3 View commit details
    Browse the repository at this point in the history
  4. add basic requirements.txt

    tumblr_backup.py has no hard dependencies in many cases when pip is
    available, but we want to make it clear to users what package versions
    matter when using this script.
    
    Most importantly, urllib3 2.0.0 and newer is not yet supported due to
    significant changes in the API.
    cebtenzzre committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    91ae5cf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    82d84b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    941e410 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d573510 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. tumblr_backup: avoid using glob() to match file paths

    glob() is a poor choice for paths that may contain special characters
    such as square brackets, question marks, or asterisks.
    
    Fixes #9
    cebtenzzre committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9184ad4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52f0ac7 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    27b6c44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8be7342 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. tumblr_backup: --media-list option

    Included revisions:
    - media.txt -> media.json
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    c4102c6 View commit details
    Browse the repository at this point in the history
  2. tumblr_backup: --id-file option

    - Also, don't assume likes come sorted by post ID, because they don't.
      Keep track of the posts we have left to find with a set.
    - prev_resps+idents performance has been improved.
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    f95a3d7 View commit details
    Browse the repository at this point in the history
  3. tumblr_backup: Wait for keypress on ENOSPC

    Included revisions:
    - Global, abstract enospc
    - Add NoInternet, cleanup
    - Do not raw_input unless isatty
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    150cce1 View commit details
    Browse the repository at this point in the history
  4. tumblr_backup: --json-info option

    Provides post count and last post timestamp information in a machine
    readable format.
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    134ae08 View commit details
    Browse the repository at this point in the history
  5. tumblr_backup: Change EXIT_NOPOSTS value to reduce ambiguity

    There are multiple reasons the script can return 1, and "no posts" is
    only one of them. I want to be able to treat "no posts" as a successful
    backup in scripts, so change its value.
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    475a48b View commit details
    Browse the repository at this point in the history
  6. tumblr_backup: Use id= paramter for --id-file option

    Now we don't need to scan through a million posts to get to the ones we
    want - the API lets you ask for them by ID!
    
    Included revisions:
    - Fix dashboard-only blogs: no id=, fall back to set-contains/stop-at-min logic
    - Fail on missing ident to mirror id= requests
    - Also fail on missing dashboard idents
    - Support fetching svc posts by id (ignored if post does not exist)
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    581f9fb View commit details
    Browse the repository at this point in the history
  7. tumblr_backup: Check for reblogs with new module is_reblog.py

    This implementation has been tested against a more thorough version on
    over 10 million posts with no discrepancies. The original check was not
    perfect and the previous improvements actually created false positives;
    this new version is much more reliable.
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    1b9858e View commit details
    Browse the repository at this point in the history
  8. tumblr_backup: fix race condition in record_media

    The lack of mutex in record_media caused all kinds of race conditions,
    most notably the fact that sometimes the JSON file was completely
    unparseable and invalid by the time it finished.
    cebtenzzre committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    e984891 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    495859e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6b8388d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a2e3254 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    50abbe1 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. wget: fix exception copying for Internet Archive fallback

    Store the original exception instead of trying to reconstruct it later.
    The reference cycle can be avoided with traceback.clear_frames.
    
    Closes #12
    cebtenzzre committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    563d6f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Configuration menu
    Copy the full SHA
    9db5c3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ed86cf View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Configuration menu
    Copy the full SHA
    e099533 View commit details
    Browse the repository at this point in the history
  2. add pyproject.toml

    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    d68f6c1 View commit details
    Browse the repository at this point in the history
  3. maint: update .gitignore

    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    3c29ec5 View commit details
    Browse the repository at this point in the history
  4. properly implement required and optional dependencies

    - required dependencies are now assumed instead of using hacky fallbacks
    - optional dependencies are now listed in pyproject.toml
    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    de8b058 View commit details
    Browse the repository at this point in the history
  5. remove encoding specification from .py files

    This is a python 2 thing.
    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    9b4db3a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bce8486 View commit details
    Browse the repository at this point in the history
  7. refactor login entry point

    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    baa761b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2348b45 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    af63181 View commit details
    Browse the repository at this point in the history
  10. documentation fixups

    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    ceca203 View commit details
    Browse the repository at this point in the history
  11. linting

    cebtenzzre committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    3505524 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2c3d76f View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. doc: fix README formatting

    cebtenzzre committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    cc51b41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7becc2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a8d90e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aab9319 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. implement urllib3 2.x compatibility

    Fixes #15
    cebtenzzre committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    fa4a45c View commit details
    Browse the repository at this point in the history
  2. use less globals

    cebtenzzre committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    6eb713d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    312689d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    06aa3f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. util: address TODO comment

    cebtenzzre committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    49f623f View commit details
    Browse the repository at this point in the history
  2. linting: run isort

    cebtenzzre committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    714e792 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    2a1e67b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6853175 View commit details
    Browse the repository at this point in the history