TheTechRobo/youtubevideofinder
概要
アーカイブから失われたYouTube動画を検索します。
その他のプロジェクト計測したスター増加
- 24時間
- +1
- 7日間
- +1
- 15日間
- +5
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルFindYouTubeVideo
Searches through various places for archived YouTube content.
Contributions are welcome!
Usage as a module
There are docstrings included in the module (it is contained in findyoutubevideo), but no setup.py or PyPI package is currently included. This is because it is not yet 100% stable, and the API still isn't great.
Frontend
Running in Docker (recommended):
There is an included Dockerfile. I will figure out publishing to Docker Hub soon enough.
Instead of modiying the Hypercorn config, use HYPERCORN_<VARIABLE_NAME> environment variables; the config is setup to work with that.
A command like this should work (runs on port 8000; change the -p flag to <whatever port you want>:8000 to change that):
docker run --restart=unless-stopped -p 8000:8000 -e thetechrobo/findyoutubevideo
Running outside of Docker (unsupported)
You should be able to check the Dockerfile for what it is doing during the build (it's a glorified shell script).
Configuration
config.template.yml has an example.
First, set the User-Agent globally in your config.yml file. Note that it isn't currently used for all scrapers as some require mimicking a browser.
Example config.yml
version:
# Global User-Agent
user_agent: "FindYoutubeVideo/1.0 operated by TheTechRobo"
methods:
youtube:
title: YouTube
enabled: true
...
Some scrapers require further configuration (typically authentication) and are disabled by default.
Contributing
If creating a new scraper, just make a new class in the finder.py file, and update the example config file. Ensure you register it with the proper type (the @registry.something) line. Take a look at the other classes for all the somethings.
Scrapers should try to yield the best or near-best link first, for best compatibility with APIv4 and lower.
Licence
Copyright (c) 2022-2026 TheTechRobo
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
関連プロジェクトを探す
読み込み中…