From d29681e7b973a2c18f1eb3834c4f98678c3f5a30 Mon Sep 17 00:00:00 2001 From: madprogramer Date: Thu, 24 Sep 2020 12:51:15 +0300 Subject: [PATCH 1/3] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a3aa1b3..f5311a0 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,9 @@ Simply run `python3 exporter.py` followed by a list of space-separated YouTube v ### 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/ From 0aedbb3f3213d4c0486e4369d5349536c5b948f1 Mon Sep 17 00:00:00 2001 From: madprogramer Date: Thu, 24 Sep 2020 13:57:44 +0300 Subject: [PATCH 2/3] Added Dockerfile written by Fusl --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..73f2cd2 --- /dev/null +++ b/Dockerfile @@ -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"] From b02c2d5d9becaaae6eb74ce6db43b3d006277924 Mon Sep 17 00:00:00 2001 From: madprogramer Date: Thu, 24 Sep 2020 14:07:32 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f5311a0..3f31987 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,13 @@ 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.