Andriod手机如何使用终端下载任意网站的视频?玩转Termux

图片[1]-Andriod手机如何使用终端下载任意网站的视频?玩转Termux-FancyPig's blog

前言

上一篇我们分享了苹果的终端ISH Shell的玩法,鉴于很多用户是安卓手机,因此我们给安卓的用户们也准备了Termux终端的教程

视频教程

相关命令

  • 切换镜像源
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版块

https://www.iculture.cc/forum/4488

© 版权声明
THE END
喜欢就支持一下吧
点赞34赞赏 分享
评论 共3条

请登录后发表评论