Andriod手机如何使用终端下载任意网站的视频?玩转Termux
作者:FancyPig | 发布时间: | 更新时间:

前言
上一篇我们分享了苹果的终端ISH Shell的玩法,鉴于很多用户是安卓手机,因此我们给安卓的用户们也准备了Termux终端的教程
data-postsbox="{"id":6220,"title":"IOS手机如何使用终端下载任意网站的视频?玩转ISH SHELL","author":"FancyPig","author_id":1,"cover_image":"","cover_video":"","views":2744,"comment_count":5,"category":"knowledge","is_forum_post":false}">{"id":6220,"title":"IOS手机如何使用终端下载任意网站的视频?玩转ISH SHELL","author":"FancyPig","author_id":1,"cover_image":"","cover_video":"","views":2744,"comment_count":5,"category":"knowledge","is_forum_post":false}
视频教程
相关命令
- 切换镜像源
sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@' $PREFIX/etc/apt/sources.list
sed -i 's@^\(deb.*games stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@' $PREFIX/etc/apt/sources.list.d/game.list
sed -i 's@^\(deb.*science stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@' $PREFIX/etc/apt/sources.list.d/science.list
apt update && apt upgrade
- 给存储root权限
termux-setup-storage
- 安装python
pkg install python python2
- pip安装youtube-dl模块
pip install youtube-dl
- 使用youtube-dl模块下载任意视频
这里以B站视频为例
youtube-dl https://www.bilibili.com/video/BV1Mq4y1V752
当然,你还可以指定文件格式输出
youtube-dl https://www.bilibili.com/video/BV1Mq4y1V752 -o luoxiang.mp4
工具打包
更多精彩
上面只是一个初步的玩法分享,它还可以使用hashcat、metasploit等网络安全黑客工具,后面逐步分享。
推荐您关注我们社区的Termux版块