Fichub-cli-metadata

Latest version: v0.6.6

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.3.2

New Feature Update:
CLI auto-version checker which notifies the user if the currently
installed version is outdated.

0.3.1

Changes

- Bugfix: Dedup input lists to prevent duplicate urls
- If duplicated urls are given as input, the CLI will only append once to the `input_list`

0.3

Changes

- Added auto-migrations feature

- If any database schema changes are detected, the db is migrated
to the new schema.

- Added `db_last_updated` column to the schema which will store when the record was updated.

- Added `--verbose` flag which can be used to show fic stats during download/update

- Added `params` to GET request for `--fetch-urls`

- Added 429s error handling and Bot UA

- If HTTP 429 error: TooManyRequests is encountered, the CLI will
sleep for 30s then retry once more.

- Added user-agent with contact mail for users so that they can
prevent themselves from getting IP banned since AO3 might ban you
if they can't find a way to contact you.

0.2.1

Changes

- Bump dependency: fichub-cli 0.5.2 → 0.6
- `fichub_cli_metadata v0.2.0` is only compatible with
`fichub-cli v0.6` and will crash if used with
`fichub-cli v0.5.3` or below.

- `fichub_cli_metadata v0.2.0` has been yanked from PyPI so `pip` will skip it when upgrading from `v0.1.2` and install `v0.2.1` instead.

0.2

Changes

0.2.0

- Added sqlite db for metadata storage
- Changelog: [PR Commit](https://github.com/fichub-cli-contrib/fichub-cli-metadata/commit/04d312b9420078cce64bc20c713001ce29eff55d)

- Added `--migrate-db` option to migrate the db to the new schema
- A new column `fichub_id` has been added to the database
schema. This new command creates a new table with the
updated schema, then inserts the data back from the old table since
in sqlite3, the new column is always appended to the end of the
list of existing columns and doesn't allow ADD column_name
AFTER column_name syntax.

- Added `--download-ebook` option to download ebooks along with the
metadata

- Bugfix: CLI crashes if the API response is "unable to find fic"'
- If a fic metadata is not already present in the fichub database, the
API responses with "unable to find fic" and the CLI crashes.
Added an exception to catch this case and skip the URL

- Added the feature to resume metadata database update using an
`output.log` which keeps track of downloads
- It appends the the URL to the `output.log` and whenever the CLI is restarted,
it checks for pre-existing `output.log` and compares it with input URLs and skips
if there are conflicts.
- Moved this code to the core cli i.e. fichub-cli since it was also
using code and this minimizes redundancy since the plugin can
just import the `check_output_log()` function from the core cli

- Moved `--get-urls` from core cli into the plugin and renamed it
as `--fetch-urls`
- It also saves the output as txt files in the current directory as
`ao3_works_list.txt` and `ao3_series_list.txt`

- Logging to file only when using `--log`
- Loguru was logging was not logging anything to file when using
`--log` unless `--debug` was being used. Now it will only log
to file if `--log` is used

- Changed License from MIT to Apache 2.0

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.