Automatic archiving with Spicadox's fork of auto-ytarchive-raw (Windows)
Prerequisites
Some up-to-date Python 3
Spicadox's auto-ytarchive-raw
FFmpeg binaries
ytarchive
ytarchive-raw-go
Setting up (automatic retrieval of privated streams)
Before proceeding you should have file extensions turned on:
After downloading everything you should have this:
- Unpack every zip archive:
- Move every exe file from their respective folder above, FFmpeg files will be in bin folder:
- Move every exe file to auto-ytarchive-raw folder:
- Rename ytarchive-raw-go-windows-amd64.exe to ytarchive-raw-go.exe
- Click on the address bar and type cmd before it
Paste insidepip install -r requirements.txt
and wait until it's done then close the window. - Open channels.json.example file in Notepad and replace the contents with
should look like:
- Save the file as channels.json (remove any .example or .txt there):
- Open const.py.example
Change lines:
ENABLE_PRIVATE_CHECK = False
toENABLE_PRIVATE_CHECK = True
PRIVATED_DOWNLOAD = None
toPRIVATED_DOWNLOAD = "privated\%(upload_date)s %(id)s"
Save as const.py - Open text.py.example
Change line:
MULTI_MANIFEST_MESSAGE = "[{video_id}](https://youtu.be/{video_id}) has multiple manifest on [{channel_name}](https://www.youtube.com/channel/{channel_id})!"
toMULTI_MANIFEST_MESSAGE = ""
Save as text.py - Create a bat file with this inside:
Double clicking the bat will start the program. You are all set.
Discord integration
Edit const.py
DISCORD_WEBHOOK_URL = None
to DISCORD_WEBHOOK_URL = "your webhook url"
(how to get the url tutorial)
DISCORD_SEND_FILES = False
to DISCORD_SEND_FILES = True
Edit callbacks to:
Automatic recording of member streams
- Get cookies.txt file
You can generate it from an extension: Firefox, Chrome
Place it in the folder with other files:
- Edit const.py
COOKIE = None
toCOOKIE = "cookies.txt"
MEMBER_DOWNLOAD = None
toMEMBER_DOWNLOAD = "member\%(upload_date)s %(id)s"
If you wish to only retrieve privated member streams, don't touch the MEMBER_DOWNLOAD = None
part.
Automatic recording of other live streams
Edit const.py
DOWNLOAD = None
to DOWNLOAD = "live\%(upload_date)s %(id)s"
PREMIERE_DOWNLOAD = None
to PREMIERE_DOWNLOAD = "premiere\%(upload_date)s %(id)s"
Rate limited?
Edit const.py
TIME_BETWEEN_CHECK = 10
to TIME_BETWEEN_CHECK = 15
or even higher
PRIVATED_DOWNLOAD_THREADS = 24
to PRIVATED_DOWNLOAD_THREADS = 16
from bonkers 🌞 with love