From 7185d51a35405b81dcd4dea0f67f2e9e718fce4b Mon Sep 17 00:00:00 2001 From: madprogramer Date: Fri, 25 Sep 2020 16:56:34 +0300 Subject: [PATCH] Updated Home (markdown) --- Home.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/Home.md b/Home.md index 824221f..26a177e 100644 --- a/Home.md +++ b/Home.md @@ -3,19 +3,30 @@ *** ## What this project is all about -https://tracker.archiveteam.org/ext-yt-communitycontribs/ +### How a "worker" works + +### Stats +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/ *** ## Tutorial ### Getting Started -In order to run these tools you will need a number of session cookies: SSID, HSID and SID. Log into YouTube with whichever Google account you want to use (preferably not your primary one) +In order to run these tools you will need to provide "session cookies", you can think of this as a lazy way of logging onto YouTube: -![img](https://cdn.discordapp.com/attachments/755014597811109898/758618624902168586/unknown.png) +- In a new/guest/Incognito browser profile, create a test Google account. +(Use a separate browser profile so the cookies don't get associated with your main Google account). +- **IMPORTANT: Set the default account language to English (United States). https://myaccount.google.com/language** +- **IMPORTANT: Visit YouTube.com. Set the YouTube site language (found by clicking on the profile image on the top right corner of youtube.com) to English (US).** +- Open developer tools and go to the Application tab in [Chrome](https://developers.google.com/web/tools/chrome-devtools/storage/cookies), or the Storage tab in Firefox. Click on Cookies and then https://www.youtube.com. Copy the full values for the following cookies on youtube.com: HSID, SSID, and SID. Note these values for when the archiving begins. -[Here's a fast version of how to get to this screen on Chrome](https://developers.google.com/web/tools/chrome-devtools/storage/cookies) +The cookie values are needed because a Google account (any Google account) is required to access the community contributions editor, where much of the data is gathered from. + +

### Run locally @@ -25,8 +36,13 @@ WIP If you're familiar with Heroku, you can just deploy the YTCC archiving tool from this template: -https://heroku.com/deploy?template=https://github.com/Data-Horde/ytcc-archive-heroku +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Data-Horde/ytcc-archive-heroku) + +

+

### Docker WIP + +You can also make a new image using the Dockerfile provided in this repo.