Member
Регистрация: 11.06.2019
Адрес: Липецк, Россия
Сообщений: 42
У меня не работает ни на одном провайдере, уже где только не пробовал.
Версия 0,3,3 установлен на CoreELEC (official): 20.1-Nexus (Amlogic-ng.arm)
В браузере без проблем открывается, а вот в аддоне не хочет.
конфиг дефолтный, из лога видно что зеркало определяет правильно, но подсовывает капчу. конфиг:
лог:
2023-04-25 13:03:58.496 T:5179 error <general>: GetDirectory - Error getting plugin://plugin.video.kinovod/
2023-04-25 13:03:58.509 T:3784 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.kinovod/) failed
2023-04-25 13:04:28.097 T:5621 error <general>: XBMCup: Plugin: error exec handler: 'NoneType' object has no attribute 'findAll'(sys.argv: ['plugin://plugin.video.kinovod/', '17', '', 'resume:false'])
2023-04-25 13:04:28.225 T:5621 error <general>: Unhandled exception detected!
2023-04-25 13:04:28.225 T:5621 error <general>: *** Start diagnostic info ***
2023-04-25 13:04:28.225 T:5621 error <general>: Plugin name: Киновод
2023-04-25 13:04:28.225 T:5621 error <general>: Plugin version: 0.3.3
2023-04-25 13:04:28.225 T:5621 error <general>: System info: uname_result(system='Linux', node='CoreELEC', release='4.9.269', version='#1 SMP PREEMPT Thu Mar 16 15:12:39 CET 2023', machine='armv7l')
2023-04-25 13:04:28.225 T:5621 error <general>: OS info: Ожидайте
2023-04-25 13:04:28.225 T:5621 error <general>: Kodi version: 20.1 (20.1.0) Git:fccf3356b956bf7d3f12cab98626d5d0d4411f7f
2023-04-25 13:04:28.225 T:5621 error <general>: Python version: 3.11.2 (main, Mar 16 2023, 15:12:20) [GCC 12.2.0]
2023-04-25 13:04:28.225 T:5621 error <general>: File: /storage/.kodi/addons/plugin.video.kinovod/kinovod.py
2023-04-25 13:04:28.226 T:5621 error <general>: Code context:
189: g_t_list = []
190: g = soup.find('div', id='main')
191:> for i in g.findAll('a', 'h3'):
192: #print i.text, i['href']
193: g_t_list.append( (i.text, r_u(i['href'])) )
2023-04-25 13:04:28.230 T:5621 error <general>: Global variables:
Error = <class 'kinovod.Error'>
GetProxyList = <function GetProxyList at 0xc647ce88>
PY2 = False
Quality = (360, 480, 720, 1080)
_de = <function _de at 0xc64f2a90>
_de3 = <function _de3 at 0xc64f2488>
_debug_ = False
_domain_ = ''
_en = <function _en at 0xc64f24d8>
_en3 = <function _en3 at 0xc64f2438>
_get_domain_ = False
_is_info_ = False
_kodi_ = True
_proxy_ = ''
_quality_ = '720'
_rating_ = 0
_setting = <xbmcup.app.Setting object at 0xc5af23e8>
_subtitles_ = True
_use_proxy_ = False
_video_ = 0
catalog = <function catalog at 0xd0144768>
comments = <function comments at 0xd0143038>
genre = <function genre at 0xd0145d88>
getUrl = <function getUrl at 0xc647dbd0>
headers = {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Language': 'ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3',
'Cache-Control': 'no-cache',
'Referer': 'https://kinovod250423.cc',
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 '
'Firefox/10.0.2'}
n_u = <function n_u at 0xc5ae10b0>
os = <module 'os' (frozen)>
ourl = <function ourl at 0xd0143da8>
pars = <function pars at 0xc64f2cf0>
pars2 = <function pars2 at 0xc64f2528>
pars3 = <function pars3 at 0xd01400d0>
pars_comments = <function pars_comments at 0xc5b13928>
pars_play = <function pars_play at 0xc64f2298>
pars_seria = <function pars_seria at 0xc64f2bc0>
play_link = <function play_link at 0xc647d208>
play_link2 = <function play_link2 at 0xc64f4b20>
postUrl = <function postUrl at 0xc647ce00>
proxy_update = <function proxy_update at 0xc647cf28>
quote = <function quote at 0xc6476060>
qurl = <function qurl at 0xc64f7f20>
r_u = <function r_u at 0xc647cf78>
randindex = 0
random = <module 'random' from '/usr/lib/python3.11/random.pyc'>
re = <module 're' from '/usr/lib/python3.11/re/__init__.pyc'>
search = <function search at 0xd0142fe8>
set_url = <function set_url at 0xc64f22e8>
site_url = 'https://kinovod250423.cc'
socket = <module 'socket' from '/usr/lib/python3.11/socket.pyc'>
startpage = <function startpage at 0xd01447b8>
subt_convert = <function subt_convert at 0xc64f4ad0>
surl = <function surl at 0xc647d900>
sys = <module 'sys' (built-in)>
time = <module 'time' (built-in)>
turl = <function turl at 0xc647d130>
unicode = <class 'str'>
urlencode = <function urlencode at 0xc64766d0>
videoinfo = <function videoinfo at 0xd0145dd8>
vtt_to_srt = <function vtt_to_srt at 0xc5ae9230>
2023-04-25 13:04:28.236 T:5621 error <general>: Local variables:
BeautifulSoup = <class 'bs4.BeautifulSoup'>
data = (b'<!doctype html>\n<html>\n<head>\n<meta charset="utf-8">\n<meta http-equiv="X'
b'-UA-Compatible" content="IE=edge">\n<meta name="viewport" content="width='
b'1024">\n<title>\xd0\x9f\xd1\x80\xd0\xbe\xd0\xb2\ xd0\xb5\xd1\x80\xd0\xba'
b'\xd0\xb0</title>\n<script src="https://www.google.com/recaptcha/api.js"></s'
b'cript>\n<style>\nbody {\n font-family: "Helvetica Neue",Helvetica,Arial,'
b'sans-serif;\n font-size: 14px;\n line-height: 1.42857143;\n color:'
b' #333;\n background-color: #fff;\n}\n \n.btn {\n display: inline'
b'-block;\n margin-bottom: 0;\n font-weight: 400;\n text-align: cent'
b'er;\n white-space: nowrap;\n vertical-align: middle;\n -ms-touch-a'
b'ction: manipulation;\n touch-action: manipulation;\n cursor: pointer'
b';\n background-image: none;\n border: 1px solid transparent;\n pad'
b'ding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n bo'
b'rder-radius: 4px;\n -webkit-user-select: none;\n -moz-user-select: n'
b'one;\n -ms-user-select: none;\n user-select: none;\n}\n\n.btn-defau'
b'lt:hover {\n color: #333;\n background-color: #e6e6e6;\n border-co'
b'lor: #adadad;\n}\n\n.btn-default {\n color: #333;\n background-colo'
b'r: #fff;\n border-color: #ccc;\n}\n\n.footer {\n margin-top:20px;\n}'
b'\n</style>\n</head>\n<body>\n<div style="margin:30px;">\n <form action'
b'="/check" method="post" role="form">\n <div class="g-recaptcha" da'
b'ta-sitekey="6Ld5MCUTAAAAALXvmUFVUdqxSgy9a8Kf3zeVvGEJ" ></div>\n\n <d'
b'iv style="margin-top:20px;">\n <button type="submit" class="bt'
b'n btn-default">\xd0\x9f\xd0\xbe\xd0\xb4\xd1\x82\xd0\xb2\ xd0\xb5\xd1'
b'\x80\xd0\xb4\xd0\xb8\xd1\x82\xd1\x8c</button>\n </div>\n\n <'
b'input type="hidden" name="return_uri" value="/">\n\n </form>\n\n '
b' <div class="footer">\n <p>\xd0\x9f\xd0\xbe \xd0\xb2\xd1\x81'
b'\xd0\xb5\xd0\xbc \xd0\xb2\xd0\xbe\xd0\xbf\xd1\x80\xd0\xbe\xd1'
b'\x81\xd0\xb0\xd0\xbc, \xd0\xbf\xd0\xbe\xd0\xb6\xd0\xb0\xd0\xbb\xd1\x83\x d0'
b'\xb9\xd1\x81\xd1\x82\xd0\xb0, \xd0\xbf\xd0\xb8\xd1\x88\xd0\xb8\xd1\x82\xd0'
b'\xb5 \xd0\xbd\xd0\xb0 \xd1\x8d\xd0\xbb\xd0\xb5\xd0\xba\xd1\x82\xd1\x80\x d0'
b'\xbe\xd0\xbd\xd0\xbd\xd1\x83\xd1\x8e \xd0\xbf\xd0\xbe\xd1\x87'
b'\xd1\x82\xd1\x83: <a href="" id="mail"></a></p>\n </div>\n</div>\n\n<scri'
b'pt type="text/javascript">\nvar m1 = (\'support\' + \'@\' + \'kinovod.net\''
b');\nvar m2 = document.getElementById("mail");\nm2.href="mailto: "+m1;\nm2.in'
b'nerHTML=m1;\n</script>\n\n\n</body>\n</html>\n')
g = None
g_t_list = []
is_info = False
soup = <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
<meta content="width=1024" name="viewport"/>
<title>Проверка</title>
<script src="https://www.google.com/recaptcha/api.js"></script>
<style>
body {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #fff;
}
.btn {
display: inline-block;
margin-bottom: 0;
font-weight: 400;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.btn-default:hover {
color: #333;
background-color: #e6e6e6;
border-color: #adadad;
}
.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
.footer {
margin-top:20px;
}
</style>
</head>
<body>
<div style="margin:30px;">
<form action="/check" method="post" role="form">
<div class="g-recaptcha" data-sitekey="6Ld5MCUTAAAAALXvmUFVUdqxSgy9a8Kf3zeVvGEJ" ></div>
<div style="margin-top:20px;">
<button class="btn btn-default" type="submit">Подтвердить</button>
</div>
<input name="return_uri" type="hidden" value="/"/>
</form>
<div class="footer">
<p>По всем вопросам, пожалуйста, пишите на электронную почту: <a href="" id="mail"></a></p>
</div>
</div>
<script type="text/javascript">
var m1 = ('support' + '@' + 'kinovod.net');
var m2 = document.getElementById("mail");
m2.href="mailto:"+m1;
m2.innerHTML=m1;
</script>
</body>
</html>
2023-04-25 13:04:28.237 T:5621 error <general>: **** End diagnostic info ****
2023-04-25 13:04:28.244 T:5621 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'NoneType' object has no attribute 'findAll'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.kinovod/default.py", line 224, in <module>
main()
File "/storage/.kodi/addons/plugin.video.kinovod/default.py", line 219, in main
plugin.run()
File "/storage/.kodi/addons/plugin.video.kinovod/xbmcup/app.py", line 462, in run
log(e)
File "/storage/.kodi/addons/plugin.video.kinovod/xbmcup/app.py", line 451, in run
app.handle()
File "/storage/.kodi/addons/plugin.video.kinovod/default.py", line 22, in handle
d = kinovod.startpage()
^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.kinovod/kinovod.py", line 797, in startpage
return pars(data)
^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.kinovod/kinovod.py", line 191, in pars
for i in g.findAll('a', 'h3'):
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'findAll'
-->End of Python script error report<--
2023-04-25 13:04:28.382 T:5619 error <general>: GetDirectory - Error getting plugin://plugin.video.kinovod/
2023-04-25 13:04:28.393 T:3784 error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.kinovod/) failed
Как это обойти? если в браузере открывается и не просит никаких капчей)
__________________
x96Air CoreELEC
Magicsee N5 CoreELEC
Rpi3b+ LibreELEC