Browse Source

Merge branch 'master' of github.com:Data-Horde/ytcc-archive

pull/8/head
tech234a 3 years ago
parent
commit
9bac2b3ae5
2 changed files with 24 additions and 0 deletions
  1. +11
    -0
      Dockerfile
  2. +13
    -0
      README.md

+ 11
- 0
Dockerfile View File

@@ -0,0 +1,11 @@
FROM python:3
ENV LC_ALL=C
RUN echo deb http://deb.debian.org/debian buster-backports main contrib > /etc/apt/sources.list.d/backports.list \
&& DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io update \
&& DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io install zip rsync curl \
&& pip install requests youtube_dl \
&& rm -rf /var/lib/apt/lists/*
COPY . /grab
WORKDIR /grab
STOPSIGNAL SIGKILL
ENTRYPOINT ["python3", "worker.py"]

+ 13
- 0
README.md View File

@@ -15,9 +15,22 @@ A wrapper repo for free and easy deployment and environment configuration, as we
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Data-Horde/ytcc-archive-heroku)
### Docker image
Stable Docker Image:
`docker pull fusl/ytcc-archive`
You can also make a new image using the Dockerfile provided in this repo.
## Bonus Features
### Export Captions and Titles/Descriptions Manually
Simply run `python3 exporter.py` followed by a list of space-separated YouTube video IDs, and all community-contributed captioning and titles/descriptions in all languages will be exported.
### Discover Videos Manually
Simply run `python3 discovery.py` followed by a list of space-separated YouTube video IDs and a list of discovered video, channel and playlist IDs will be printed, as well as whether caption contributions are enabled.
# Stats
See how much has been archived so far.
* https://atdash.meo.ws/d/attv2/archive-team-tracker-charts-v2?orgId=1&var-project=ext-yt-communitycontribs
* https://tracker.archiveteam.org/ext-yt-communitycontribs/

Loading…
Cancel
Save