Compare commits

..

6 Commits

Author SHA1 Message Date
msramalho
eec138b7ce updates wrong yarn references and replaces with npm 2026-07-01 14:04:21 +01:00
msramalho
575ce6dcf6 version bump to 1.2.8 2026-07-01 14:03:55 +01:00
msramalho
486238c019 browsertrix bump 2026-07-01 14:03:48 +01:00
msramalho
8e4bca50b2 dependencies update 2026-06-30 18:20:49 +01:00
Miguel Sozinho Ramalho
9e651bb849 Merge pull request #434 from PeterUpfold/video-unavailable-fix
Removes 'video unavailable' from YouTube deletion indicators
2026-05-01 10:21:30 +01:00
Peter Upfold
6581bbe139 Remove 'video unavailable' from YouTube deletion indicators 2026-04-28 21:02:38 +01:00
5 changed files with 539 additions and 542 deletions

View File

@@ -143,7 +143,7 @@ generic_extractor:
**PyPi/ Local**:
When using the Auto Archiver PyPI package, or running locally, you will need additional system requirements to run the token generation script, namely either Docker, or Node.js and Yarn.
When using the Auto Archiver PyPI package, or running locally, you will need additional system requirements to run the token generation script, namely either Docker, or Node.js and npm (>=9).
See the [bgutil-ytdlp-pot-provider](https://github.com/Brainicism/bgutil-ytdlp-pot-provider?tab=readme-ov-file#a-http-server-option) documentation for more details.

1072
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[project]
name = "auto-archiver"
version = "1.2.7"
version = "1.2.8"
description = "Automatically archive links to videos, images, and social media content from Google Sheets (and more)."
requires-python = ">=3.10,<3.13"

View File

@@ -109,7 +109,7 @@ class GenericExtractor(Extractor):
def setup_token_generation_script(self) -> None:
"""This function sets up the Proof of Origin Token generation script method for
bgutil-ytdlp-pot-provider if enabled or in Docker."""
missing_tools = [tool for tool in ("node", "yarn", "npx") if shutil.which(tool) is None]
missing_tools = [tool for tool in ("node", "npm", "npx") if shutil.which(tool) is None]
if missing_tools:
logger.error(
f"Cannot set up PO Token script; missing required tools: {', '.join(missing_tools)}. "
@@ -151,7 +151,7 @@ class GenericExtractor(Extractor):
shutil.move(os.path.join(extracted_root, "server"), server_dir)
shutil.rmtree(extracted_root)
logger.info("Installing dependencies and transpiling PoT Generator script...")
subprocess.run(["yarn", "install", "--frozen-lockfile"], cwd=server_dir, check=True)
subprocess.run(["npm", "ci"], cwd=server_dir, check=True)
subprocess.run(["npx", "tsc"], cwd=server_dir, check=True)
with open(version_file, "w") as vf:

View File

@@ -64,7 +64,6 @@ class DeletionIndicators:
# YouTube deletion indicators
YOUTUBE = [
"This video isn't available anymore",
"Video unavailable",
"This video has been removed",
"This video is no longer available",
"This video is private",