Skip to content

Termux Scripts: TikTok Video/Audio Downloader; YouTube Video Downloader. Mobile setup notes

Notifications You must be signed in to change notification settings

zehr0s/mobile-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

A mobile setup

Termux

To download media from YT and TT run this lines of code in Termux, then share an url with Termux.

# Update
pkg update
pkg upgrade

# Permissions
termux-setup-storage

# Packages (use apt in case pkg is not working)
pkg install git -y
pkg install python -y
pkg install wget -y
pkg install ffmpeg -y

# Python modules
pip install requests
pip install youtube-dl # python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz
pip install beautifulsoup4
# pip install json

# Bin directory
mkdir -p $HOME/bin

# Url Opener + YouTube Downloader
wget https://raw.githubusercontent.com/zehr0s/mobile-setup/main/termux-url-opener -O $HOME/bin/termux-url-opener
chmod +x $HOME/bin/termux-url-opener

# TikTok Downloader
wget https://raw.githubusercontent.com/zehr0s/spiders/main/handmade/tiktok/tiktok_dl.py -O /data/data/com.termux/files/usr/bin/tiktok-dl
sed -i '1c\#! /data/data/com.termux/files/usr/bin/python3' /data/data/com.termux/files/usr/bin/tiktok-dl
chmod +x /data/data/com.termux/files/usr/bin/tiktok-dl

# Spiders [External Storage]
# git clone https://github.com/zehr0s/spiders $HOME/storage/external-1/scripts/spiders

Firefox (Nightly/Beta)

Set Firefox to Desktop Mode permanently.

  1. Toggle Desktop Mode.
  2. Search your User Agent.
    • Copy User Agent e.g: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
  3. Type about:config in the address bar.
  4. Create a new entry.
  5. Restart browser.

About

Termux Scripts: TikTok Video/Audio Downloader; YouTube Video Downloader. Mobile setup notes

Topics

Resources

Stars

Watchers

Forks

Languages