I wanted to make a note:
for those who try to parse the urls and modify the file.
Try to maintain a guideline, a python code style let's say.
There are so many errors that it is not clear which one you should correct first
In fact, it could also be improved a little at a time.
I noticed yesterday, for example, that in translating a locale for this plugin in Italian, on behalf of atv, I came across sentences in French, German, Arabic... so there is no guideline, a single coder to send the changes to and where he has the possibility to verify and insert them.
Without a single guide guys, we would always have errors. It is also impossible to fix some hosts: the definitions are even double.
It was just to tell you something, then I have never tried my hand at this plugin, it has become like spaghetti...
I corrected many errors, but I don't know where to get these..
If someone knows.. maybe they can start working on it seriously ;)
pylama --max-line-length=800 --ignore=E722,W605,C901 "urlparser.py" (nella cartella: D:\Downloads)
urlparser.py:10:1 W0611 'Plugins.Extensions.IPTVPlayer.tools.iptvtools.byteify' imported but unused [pyflakes]
urlparser.py:11:59 E126 continuation line over-indented for hanging indent [pycodestyle]
urlparser.py:19:1 W0611 'Plugins.Extensions.IPTVPlayer.libs.pbkdf2' imported but unused [pyflakes]
urlparser.py:22:1 W0611 'Plugins.Extensions.IPTVPlayer.libs.urlparserhelper.JS_toString' imported but unused [pyflakes]
urlparser.py:52:1 W0611 'hashlib.sha512' imported but unused [pyflakes]
urlparser.py:142:12 E121 continuation line under-indented for hanging indent [pycodestyle]
urlparser.py:1297:21 E127 continuation line over-indented for visual indent [pycodestyle]
urlparser.py:1667:108 E0602 undefined name 'tmp' [pyflakes]
urlparser.py:2075:9 W0612 local variable 'urlTab' is assigned to but never used [pyflakes]
urlparser.py:2081:9 W0612 local variable 'params_l' is assigned to but never used [pyflakes]
urlparser.py:2118:15 E0602 undefined name 'url' [pyflakes]
urlparser.py:2202:23 E0602 undefined name 'domain' [pyflakes]
urlparser.py:2368:13 W0612 local variable 'loginSts' is assigned to but never used [pyflakes]
urlparser.py:2879:5 W0404 redefinition of unused 'parserPLAYEDTO' from line 2568 [pyflakes]
urlparser.py:2934:17 W0612 local variable 'iframe_url' is assigned to but never used [pyflakes]
urlparser.py:2945:17 W0612 local variable 'DMCA' is assigned to but never used [pyflakes]
urlparser.py:3148:29 W0612 local variable 'charList0' is assigned to but never used [pyflakes]
urlparser.py:3234:9 W0612 local variable 'playerUrlPrefix' is assigned to but never used [pyflakes]
urlparser.py:3236:9 W0612 local variable 'serviceHostUrl' is assigned to but never used [pyflakes]
urlparser.py:3655:801 E501 line too long (862 > 800 characters) [pycodestyle]
urlparser.py:3700:801 E501 line too long (1067 > 800 characters) [pycodestyle]
urlparser.py:3787:9 W0612 local variable 'retTab' is assigned to but never used [pyflakes]
urlparser.py:3888:17 W0612 local variable 'type' is assigned to but never used [pyflakes]
urlparser.py:4117:13 W0612 local variable 'bs' is assigned to but never used [pyflakes]
urlparser.py:4163:13 W0612 local variable 'iv' is assigned to but never used [pyflakes]
urlparser.py:4353:25 W0612 local variable 'ext' is assigned to but never used [pyflakes]
urlparser.py:4388:9 W0612 local variable 'language' is assigned to but never used [pyflakes]
urlparser.py:4613:21 W0612 local variable 'srclang' is assigned to but never used [pyflakes]
urlparser.py:4915:9 W0612 local variable 'reNum' is assigned to but never used [pyflakes]
urlparser.py:5303:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:5360:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:5362:10 E121 continuation line under-indented for hanging indent [pycodestyle]
urlparser.py:5431:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:5433:222 E0602 undefined name 'GetDukPath' [pyflakes]
urlparser.py:5706:21 W0612 local variable 'type' is assigned to but never used [pyflakes]
urlparser.py:6172:9 W0612 local variable 'live' is assigned to but never used [pyflakes]
urlparser.py:7250:9 W0612 local variable 'file' is assigned to but never used [pyflakes]
urlparser.py:7352:51 E0602 undefined name 'url' [pyflakes]
urlparser.py:8145:13 W0612 local variable 'paramsAlgoObj' is assigned to but never used [pyflakes]
urlparser.py:8485:9 W0612 local variable 'params_l' is assigned to but never used [pyflakes]
urlparser.py:8751:33 W0612 local variable 'type' is assigned to but never used [pyflakes]
urlparser.py:8962:34 E0602 undefined name 'url' [pyflakes]
urlparser.py:9176:9 W0612 local variable 'streamsTab' is assigned to but never used [pyflakes]
urlparser.py:10076:9 W0612 local variable 'display_id' is assigned to but never used [pyflakes]
urlparser.py:10276:13 E741 ambiguous variable name 'l' [pycodestyle]
urlparser.py:10289:13 E741 ambiguous variable name 'l' [pycodestyle]
urlparser.py:10308:13 E741 ambiguous variable name 'l' [pycodestyle]
urlparser.py:10780:13 W0612 local variable 'type' is assigned to but never used [pyflakes]
urlparser.py:10847:9 W0612 local variable 'tmp' is assigned to but never used [pyflakes]
urlparser.py:11174:25 E127 continuation line over-indented for visual indent [pycodestyle]
urlparser.py:11176:23 E124 closing bracket does not match visual indentation [pycodestyle]
urlparser.py:11241:9 W0612 local variable 'referer' is assigned to but never used [pyflakes]
urlparser.py:11350:25 E127 continuation line over-indented for visual indent [pycodestyle]
urlparser.py:11352:23 E124 closing bracket does not match visual indentation [pycodestyle]
urlparser.py:11380:801 E501 line too long (1892 > 800 characters) [pycodestyle]
urlparser.py:11396:21 W0612 local variable 'session_ms' is assigned to but never used [pyflakes]
urlparser.py:11419:9 W0612 local variable 'referer' is assigned to but never used [pyflakes]
urlparser.py:11486:801 E501 line too long (2949 > 800 characters) [pycodestyle]
urlparser.py:11564:13 W0612 local variable 'type' is assigned to but never used [pyflakes]
urlparser.py:11573:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:11627:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:11696:42 E0602 undefined name 'params' [pyflakes]
urlparser.py:11869:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:11989:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:12569:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:12599:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:12604:28 E0602 undefined name 'iterDictValues' [pyflakes]
urlparser.py:12605:29 E0602 undefined name 'iterDictValues' [pyflakes]
urlparser.py:12673:9 W0612 local variable 'track_id' is assigned to but never used [pyflakes]
urlparser.py:12719:13 W0612 local variable 'url' is assigned to but never used [pyflakes]
urlparser.py:12753:9 W0612 local variable 'mainUrl' is assigned to but never used [pyflakes]
urlparser.py:13506:58 E0602 undefined name 'errorMsgTab' [pyflakes]
urlparser.py:13566:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:14506:13 W0612 local variable 'c3' is assigned to but never used [pyflakes]
urlparser.py:14817:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:14900:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:14956:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
urlparser.py:14995:9 W0612 local variable 'domain' is assigned to but never used [pyflakes]
urlparser.py:15488:9 W0612 local variable 'serv' is assigned to but never used [pyflakes]
urlparser.py:15525:9 W0612 local variable 'Referer' is assigned to but never used [pyflakes]
urlparser.py:15576:13 W0612 local variable 'bs' is assigned to but never used [pyflakes]
urlparser.py:15588:13 W0612 local variable 'iv' is assigned to but never used [pyflakes]
urlparser.py:16071:9 W0612 local variable 'cUrl' is assigned to but never used [pyflakes]
Compilazione fallita.
Display More



