大哥!新出现的问题,为什么aria2里面有些可以下载,大多数视频下载失败嘞~
ppaibb opened this issue · 11 comments
你不用代理的话aria2的稳定性还不如php命令行直接下
你不用代理的话aria2的稳定性还不如php命令行直接下
大佬,问题出现了。 aria2的代理在哪里添加哦。我安装了ss-privoxy 把这个容器的8118端口映射到了群晖上,群晖可以添加http代理 并且可以访问谷歌了,说明这里设置是正确de ;
我看到容器的ip是127.17.0.4 群晖docker0网卡的ip127.17.0.1 这两个是互通的。 然后我追加了两行到aria2.conf里面,分别是http-proxy=127.17.0.1:8118和https-proxy=127.17.0.1:8118
这样子还是不行哦,请问aria2的代理怎么设置哦
大佬请看看我这是哪里出了问题,目前我Aria2和和直接那个php都用不了
[root@localhost home]# git clone -b aria2 git@github.com:zzjzz9266a/91porn_php.git
Cloning into '91porn_php'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[root@localhost home]# git clone https://github.com/zzjzz9266a/91porn_php
Cloning into '91porn_php'...
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 319 (delta 21), reused 20 (delta 10), pack-reused 281
Receiving objects: 100% (319/319), 589.38 KiB | 338.00 KiB/s, done.
Resolving deltas: 100% (142/142), done.
[root@localhost home]# git clone -b aria2 https://github.com/zzjzz9266a/91porn_php
Cloning into '91porn_php'...
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 319 (delta 21), reused 20 (delta 10), pack-reused 281
Receiving objects: 100% (319/319), 589.38 KiB | 273.00 KiB/s, done.
Resolving deltas: 100% (142/142), done.
[root@localhost home]# cd /home/91porn_php
[root@localhost 91porn_php]# 91all.php
bash: 91all.php: command not found...
[root@localhost 91porn_php]#
上面的事aria2这个事PHP
[root@localhost home]# git clone https://github.com/zzjzz9266a/91porn_php
Cloning into '91porn_php'...
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 319 (delta 21), reused 20 (delta 10), pack-reused 281
Receiving objects: 100% (319/319), 589.38 KiB | 282.00 KiB/s, done.
Resolving deltas: 100% (142/142), done.
[root@localhost home]# cd /home/91porn_php
[root@localhost 91porn_php]# 91all.php
bash: 91all.php: command not found...
[root@localhost 91porn_php]# php 91all.php
http://91porn.com/v.php?category=top&viewtype=basic&page=1
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=2
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=3
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=4
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=5
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=6
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=7
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=8
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=9
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=top&viewtype=basic&page=10
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 10)
#3 {main}
http://91porn.com/v.php?category=mf&viewtype=basic&page=1
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 5)
#3 {main}
http://91porn.com/v.php?category=mf&viewtype=basic&page=2
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 5)
#3 {main}
http://91porn.com/v.php?category=mf&viewtype=basic&page=3
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 5)
#3 {main}
http://91porn.com/v.php?category=mf&viewtype=basic&page=4
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 5)
#3 {main}
http://91porn.com/v.php?category=mf&viewtype=basic&page=5
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(35): listPage('http://91porn.c...', 1, 5)
#3 {main}
http://91porn.com/v.php?category=md&viewtype=basic&page=4
InvalidArgumentException: DiDom\Document::load expects parameter 1 to be string, boolean given in /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php:218
Stack trace:
#0 /home/91porn_php/vendor/imangazaliev/didom/src/DiDom/Document.php(69): DiDom\Document->load(false, false, 'html')
#1 /home/91porn_php/91all.php(15): DiDom\Document->__construct(false)
#2 /home/91porn_php/91all.php(37): listPage('http://91porn.c...', 4, 4)
#3 {main}[root@localhost 91porn_php]#
公网IP也换了,我目前在国外,一个月前还能用
你不用代理的话aria2的稳定性还不如php命令行直接下
大佬,问题出现了。 aria2的代理在哪里添加哦。我安装了ss-privoxy 把这个容器的8118端口映射到了群晖上,群晖可以添加http代理 并且可以访问谷歌了,说明这里设置是正确de ;
我看到容器的ip是127.17.0.4 群晖docker0网卡的ip127.17.0.1 这两个是互通的。 然后我追加了两行到aria2.conf里面,分别是http-proxy=127.17.0.1:8118和https-proxy=127.17.0.1:8118
这样子还是不行哦,请问aria2的代理怎么设置哦
下载最新的master,别用aria2的了
你不用代理的话aria2的稳定性还不如php命令行直接下
大佬,问题出现了。 aria2的代理在哪里添加哦。我安装了ss-privoxy 把这个容器的8118端口映射到了群晖上,群晖可以添加http代理 并且可以访问谷歌了,说明这里设置是正确de ;
我看到容器的ip是127.17.0.4 群晖docker0网卡的ip127.17.0.1 这两个是互通的。 然后我追加了两行到aria2.conf里面,分别是http-proxy=127.17.0.1:8118和https-proxy=127.17.0.1:8118
这样子还是不行哦,请问aria2的代理怎么设置哦下载最新的master,别用aria2的了
你不用代理的话aria2的稳定性还不如php命令行直接下
大佬,问题出现了。 aria2的代理在哪里添加哦。我安装了ss-privoxy 把这个容器的8118端口映射到了群晖上,群晖可以添加http代理 并且可以访问谷歌了,说明这里设置是正确de ;
我看到容器的ip是127.17.0.4 群晖docker0网卡的ip127.17.0.1 这两个是互通的。 然后我追加了两行到aria2.conf里面,分别是http-proxy=127.17.0.1:8118和https-proxy=127.17.0.1:8118
这样子还是不行哦,请问aria2的代理怎么设置哦下载最新的master,别用aria2的了
**HP Fatal error: Call to a member function getAttribute() on null in /root/91porn_php/detailPage.php on line 21
Fatal error: Call to a member function getAttribute() on null in /root/91porn_php/detailPage.php on line 21**
root@YanDong-Station:~/91porn_php# php -v
PHP 5.6.11 (cli) (built: Jul 3 2018 21:23:42)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
大佬 请问 这样子报错是哪里的问题哦 我的php 5.6.11