Created In-Depth Tutorial (markdown)

master
madprogramer 3 years ago
parent
commit
64531fef61
1 changed files with 34 additions and 0 deletions
  1. +34
    -0
      In-Depth-Tutorial.md

+ 34
- 0
In-Depth-Tutorial.md

@@ -0,0 +1,34 @@
## Tutorial

### Getting Started

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:

- 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.

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.

<p style="text-align:center;"><img class="centerImage" src="https://cdn.discordapp.com/attachments/755014597811109898/758618624902168586/unknown.png" width=80%></p>

### Run locally

WIP

### Heroku

If you're familiar with Heroku, you can just deploy the YTCC archiving tool from this template:

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Data-Horde/ytcc-archive-heroku)

<p style="text-align:center;"><img class="centerImage" src="https://cdn.discordapp.com/attachments/755918971487911947/759049420809175050/H1.png" width=50%></p>
<p style="text-align:center;"><img class="centerImage" src="https://cdn.discordapp.com/attachments/755918971487911947/759049419206295583/H2.png" width=50%></p>

### Docker

WIP

You can also make a new image using the Dockerfile provided in this repo.

Loading…
Cancel
Save