mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
33 lines
2.2 KiB
XML
33 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||
<channel>
|
||
<title>下载 on 超微浏览器: 威、快、高效、极致优化</title>
|
||
<link>/zh/tags/%E4%B8%8B%E8%BD%BD/</link>
|
||
<description>Recent content in 下载 on 超微浏览器: 威、快、高效、极致优化</description>
|
||
<generator>Hugo -- gohugo.io</generator>
|
||
<language>zh</language>
|
||
<atom:link href="/zh/tags/%E4%B8%8B%E8%BD%BD/index.xml" rel="self" type="application/rss+xml" />
|
||
<item>
|
||
<title>浏览器控制服务器下载资源</title>
|
||
<link>/zh/pcdown/</link>
|
||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
<guid>/zh/pcdown/</guid>
|
||
<description>技巧等级:高级
|
||
小孩要听英文有声书“The lying games”,国内服务器没一个能下的,最后还是在手机上用seedr秒下。但seedr的登录要用google人机交互确认,用过代理、tunnel至手机等方法,台式机死活登录不上。下面言归正传,讲一下超微浏览器直接下载资源至台式机的方法:
|
||
手机需安装uweb定制Termux,并在termux下安装openssl,在Termux窗口下依次敲入如下命令:
|
||
apt update
|
||
apt upgrade
|
||
apt install openssl
|
||
脚本pcdownload内容如下(可放置在任意应用内部目录下,并相应修改default.longclick配置中文件路径):
|
||
#!/data/data/com.termux/files/usr/bin/sh
|
||
ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 firefox \&quot;$1\&quot;&quot;
|
||
脚本需设置为可执行,Termux下执行命令:
|
||
chmod 755 /data/data/com.termux/files/usr/bin/pcdownload
|
||
这里假定用户已经在台式机上设好ssh服务,台式机IP地址为192.168.2.102,准备用firefox下载。如果下载工具不是图形程序,则上述脚本中可删去“DISPLAY=:0”。
|
||
配置文件default.longclick如下:
|
||
PCdown:/data/data/com.termux/files/usr/bin/pcdownload
|
||
重启超微浏览器,点击链接下载时会弹出菜单,选择&quot;PCdown&quot;,台式机会启动firefox下载手机指定文档。
|
||
可能大家有疑问,台式机无法登录,为什么手机可以登录?这是因为手机上应用多哈。</description>
|
||
</item>
|
||
</channel>
|
||
</rss>
|