mirror of
https://github.com/openzim/zimit.git
synced 2025-09-24 04:30:11 -04:00
Remove trailing characters when retrieving Browsertrix Crawler version
This commit is contained in:
parent
3070fe9724
commit
e24479945f
@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- New `--version` flag to display Zimit version
|
- New `--version` flag to display Zimit version
|
||||||
- New `--logging` flag to adjust Browsertrix Crawler logging (#273)
|
- New `--logging` flag to adjust Browsertrix Crawler logging (#273)
|
||||||
- Use new `--scraper-suffix` flag of warc2zim to enhance ZIM "Scraper" metadata (#275)
|
- Use new `--scraper-suffix` flag of warc2zim to enhance ZIM "Scraper" metadata (#275)
|
||||||
|
- New `--noMobileDevice` CLI argument
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
@ -21,6 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Adopt Python bootstrap conventions
|
- Adopt Python bootstrap conventions
|
||||||
- Removed handling of redirects by zimit, they are handled by browsertrix crawler and detected properly by warc2zim
|
- Removed handling of redirects by zimit, they are handled by browsertrix crawler and detected properly by warc2zim
|
||||||
- Upgrade to Python 3.12 + upgrade dependencies
|
- Upgrade to Python 3.12 + upgrade dependencies
|
||||||
|
- `--userAgent` CLI argument overrides again the `--userAgentSuffix` and `--adminEmail` values
|
||||||
|
- `--userAgent` CLI arguement is not mandatory anymore
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix support for Youtube videos (#291)
|
||||||
|
|
||||||
## [1.6.3] - 2024-01-18
|
## [1.6.3] - 2024-01-18
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ def run(raw_args):
|
|||||||
except Exception:
|
except Exception:
|
||||||
logger.error("Failed to get Browsertrix crawler version")
|
logger.error("Failed to get Browsertrix crawler version")
|
||||||
raise
|
raise
|
||||||
crawler_version = crawl.stdout
|
crawler_version = crawl.stdout.strip()
|
||||||
logger.info(f"Browsertrix crawler: version {crawler_version}")
|
logger.info(f"Browsertrix crawler: version {crawler_version}")
|
||||||
|
|
||||||
# pass a scraper suffix to warc2zim so that both zimit, warc2zim and crawler
|
# pass a scraper suffix to warc2zim so that both zimit, warc2zim and crawler
|
||||||
|
Loading…
x
Reference in New Issue
Block a user