Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beangreen247/youtube-download-script
A script for downloading content from Youtube
https://github.com/beangreen247/youtube-download-script
arch bash beangreen beangreen247 convert debian dl download ffmpeg free linux opensource script ubuntu vim youtube
Last synced: about 4 hours ago
JSON representation
A script for downloading content from Youtube
- Host: GitHub
- URL: https://github.com/beangreen247/youtube-download-script
- Owner: BeanGreen247
- Created: 2019-12-14T20:48:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T16:40:50.000Z (5 months ago)
- Last Synced: 2024-06-09T18:12:27.335Z (5 months ago)
- Topics: arch, bash, beangreen, beangreen247, convert, debian, dl, download, ffmpeg, free, linux, opensource, script, ubuntu, vim, youtube
- Language: Shell
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube Download Script
Projects used
* https://github.com/yt-dlp/yt-dlp
* A youtube-dl fork with additional features and fixesMake sure to install ffmpeg and python
```
sudo apt install ffmpeg python
```
On fedora
```
sudo dnf install ffmpeg python pip
```And then for python
```
python3 -m pip3 install secretstorage
```A script for downloading content from Youtube
```
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
```
```
wget https://raw.githubusercontent.com/BeanGreen247/Youtube-Download-Script/master/youtubetomp3mp4.sh
```
in `--cookies-from-browser chrome` chagne `chrome` to your pefered browsermake sure that you are logged into google, youtube and youtube music in your defined browser
To run the script
**DO NOT RUN AS SUDO, or files will be stored in /root directory**
```
bash youtubetomp3mp4.sh
```
want to download one song at a time? well here you go
```
/usr/local/bin/youtube-dl --hls-prefer-ffmpeg --cookies-from-browser chrome -i -f b --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s"
```
in `--cookies-from-browser chrome` chagne `chrome` to your pefered browser