{"action":"created","issue":{"url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons/issues/2212","repository_url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons","labels_url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons/issues/2212/labels{/name}","comments_url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons/issues/2212/comments","events_url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons/issues/2212/events","html_url":"https://github.com/Kodi-vStream/venom-xbmc-addons/issues/2212","id":350786878,"node_id":"MDU6SXNzdWUzNTA3ODY4Nzg=","number":2212,"title":"Une question pour ajouter une source","user":{"login":"Ovni-crea","id":13500478,"node_id":"MDQ6VXNlcjEzNTAwNDc4","avatar_url":"https://avatars0.githubusercontent.com/u/13500478?v=4","gravatar_id":"","url":"https://api.github.com/users/Ovni-crea","html_url":"https://github.com/Ovni-crea","followers_url":"https://api.github.com/users/Ovni-crea/followers","following_url":"https://api.github.com/users/Ovni-crea/following{/other_user}","gists_url":"https://api.github.com/users/Ovni-crea/gists{/gist_id}","starred_url":"https://api.github.com/users/Ovni-crea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ovni-crea/subscriptions","organizations_url":"https://api.github.com/users/Ovni-crea/orgs","repos_url":"https://api.github.com/users/Ovni-crea/repos","events_url":"https://api.github.com/users/Ovni-crea/events{/privacy}","received_events_url":"https://api.github.com/users/Ovni-crea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":163,"created_at":"2018-08-15T12:12:24Z","updated_at":"2018-09-23T18:41:17Z","closed_at":null,"author_association":"NONE","body":"Bon l'idée c'est que je veux ajouter la source livetv pour le sport le problème c'est avant de commencer le fichier python je voudrais savoir si Kodi gère les lecteurs flash \r\nMerci"},"comment":{"url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons/issues/comments/423837842","html_url":"https://github.com/Kodi-vStream/venom-xbmc-addons/issues/2212#issuecomment-423837842","issue_url":"https://api.github.com/repos/Kodi-vStream/venom-xbmc-addons/issues/2212","id":423837842,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzgzNzg0Mg==","user":{"login":"mbebe","id":30195202,"node_id":"MDQ6VXNlcjMwMTk1MjAy","avatar_url":"https://avatars0.githubusercontent.com/u/30195202?v=4","gravatar_id":"","url":"https://api.github.com/users/mbebe","html_url":"https://github.com/mbebe","followers_url":"https://api.github.com/users/mbebe/followers","following_url":"https://api.github.com/users/mbebe/following{/other_user}","gists_url":"https://api.github.com/users/mbebe/gists{/gist_id}","starred_url":"https://api.github.com/users/mbebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbebe/subscriptions","organizations_url":"https://api.github.com/users/mbebe/orgs","repos_url":"https://api.github.com/users/mbebe/repos","events_url":"https://api.github.com/users/mbebe/events{/privacy}","received_events_url":"https://api.github.com/users/mbebe/received_events","type":"User","site_admin":false},"created_at":"2018-09-23T18:41:17Z","updated_at":"2018-09-23T18:41:17Z","author_association":"NONE","body":"> \r\n> \r\n> Bon j'ai avancé mais je suis perdu a partir du code source HTML de leurs hébergeur\r\n> \r\n> ```\r\n> <span style='display:none' id=cnierfutegihkSasBt>GjvHms7Sd-hb6kK_2FIYv=Pkx6tDi-Q_GBu7aUhsyhJ1=OWk</span><span style='display:none' id=heBautetksgSficrni>7kBvUhkdyKQGsF6Sx-i=_=hj_uHv6bkDthmIP1Y2W-OsJGa7</span><span style='display:none' id=ctSfetauksgnhBiire>Sv-xQHK-taF6I7YG1sU==DP6_kudhmhsGBv2iyWbOkhJ_k7j</span><span style='display:none' id=tkihcnsuiaeBSgrfte>FStIW=_GsyhYj2PaxDv7Hk-61BhiJdGuk=kbUh-Os7K_Qv6m</span><span style='display:none' id=eSfiruBstktghicnea>1J7KkDsxWPikk2_I=6vhuFms-Y6h-O=7vtjBGS_aHydQUbhG</span><span style='display:none' id=ihfksgateitrnSeuBc>v6-vS_6UiksBP1kDQ2KhI-djhhJysa_7tmFGkH=xOuY=b7WG</span><span style='display:none' id=serfStnkighBtiacue>HUkDJbyjkFk=QsK=W_77haOd_itYxSm26P6uI-BGhh-1vvGs</span><span style='display:none' id=treeigctksSainfuhB>WIUx=S=s7hFmi7k2uPabKGGkYkBd6_hvDh_vjs-Q6Oty1H-J</span><span style='display:none' id=fcShieketugrisBtan>O1sh_xkvuU-ksmkjbt7K=BY6-6GdHiGPD2h7yW_hFIJvaSQ=</span><span style='display:none' id=rgSienkficteasuBht>mS7IivskKkt=JHDGv1yk_FPGBQUYh-=h_6-jOab2xW67usdh</span><span style='display:none' id=uiestehfkngcSrtBia>G662Hk1BhvI_-WF-iSskuyhkm=jGx=dPJvY7OQUthbasK_7D</span><span style='display:none' id=fiegrcatSnBeitsuhk>-FsW6mK2D6=U1y7GGk=athHvvB-jh__7ISbOdQiYPuxJkksh</span><span style='display:none' id=iSgftaueBcsahrntki>ash=xmSDGJvdbhWjh7uY6POUBvi_7kFk1_6y-G2IHsQtK-k=</span><span style='display:none' id=SragikfecusehtBnti>IbSJxUdkDkh_hKQ1iyms7_v6=uBt=YOPaFs2kG-jW7G-h6vH</span><span style='display:none' id=cratgfhensekitiuBS>sO66Qub=GPkDsW_KGYv7d7=-mF_kkhB-tUJISiyx1jhvhHa2</span><span style='display:none' id=iSgenttekBairhfusc>OtGD_khadU=KSs7kkxjmsG67i6QF-_W2Yhy=bv-IuhBJ1HvP</span><span style='display:none' id=uctaeBhreisSntikgf>FkUGbHQ7h1-vstSivPOahdk-s2Wyhj6D_KkI=6BG_7mx=uYJ</span><span style='display:none' id=tSunfBrceihektgasi>6Qj_-BhbaU7hu=_-O7WhHtPYxFkDs2=ivskvdGKIm6S1GkJy</span><span style='display:none' id=hicgtBskeeaSitnfur>h=_vv7WshkYkKQ-6ixDOub6mUt=dkhBHI7_yFSPGasj2-GJ1</span><span style='display:none' id=geutticesnfhaiSrkB>7OhGjDsv1Qu6kx2aGi_bh=67sWFyKhYBJvmk-_H=S-ItdUPk</span><span style='display:none' id=csiuhttBgSeirekfna>Yhx-O6Ju7avk_vFkHWS2I=-jG7Gym=PDssK6Bi1dhUkbtQh_</span><span style='display:none' id=sStitieaBhufkgecnr>Pvxkkh=j7u6Q-=7sKh-ih_HByOUS6sYvtkGFbmDJIW2G_ad1</span><script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js\"></script>\r\n>                                             <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/clappr.level-selector/latest/level-selector.min.js\"></script>\r\n>                                             <div id=\"hdplayer\"></div>\r\n>                                             <script type=\"text/javascript\">\r\n>                                             var aelurarsntiyebgrAeSUr = [\"sh\",\"360\",\"e=1\",\"end\",\"e=0\",\"hls\",\"tim\",\"sst\",\"536\",\"942\",\"&hl\",\"art\",\"tim\",\"&hl\"];\r\n>                                             var rrgrrSliUeynteubesaaA = [\"sh\",\"tim\",\"360\",\"e=1\",\"&hl\",\"sst\",\"art\",\"536\",\"e=0\",\"end\",\"hls\",\"tim\",\"942\",\"&hl\"];\r\n>                                             var eritrUAarsagySlnbreue = [\"end\",\"sst\",\"e=0\",\"e=1\",\"360\",\"942\",\"hls\",\"art\",\"&hl\",\"tim\",\"sh\",\"tim\",\"&hl\",\"536\"];\r\n>                                             var eiarSgebulseatnryrArU = [\"&hl\",\"sh\",\"tim\",\"360\",\"tim\",\"end\",\"942\",\"hls\",\"sst\",\"536\",\"&hl\",\"e=0\",\"art\",\"e=1\"];\r\n>                                             var yAUtbSaleenasrrirerug = [\"942\",\"tim\",\"end\",\"536\",\"sst\",\"&hl\",\"e=1\",\"tim\",\"&hl\",\"hls\",\"sh\",\"360\",\"e=0\",\"art\"];\r\n>                                             var inbeUruraleAyegrsrtaS = [\"&hl\",\"942\",\"art\",\"end\",\"sst\",\"tim\",\"&hl\",\"tim\",\"hls\",\"e=1\",\"sh\",\"e=0\",\"536\",\"360\"];\r\n>                                             var lbytnUrSisAaraueegrre = [\"end\",\"hls\",\"942\",\"&hl\",\"tim\",\"art\",\"sh\",\"536\",\"tim\",\"&hl\",\"sst\",\"e=0\",\"360\",\"e=1\"];\r\n>                                             var sarieglbayterrUeAnurS = [\"hls\",\"sh\",\"e=1\",\"art\",\"tim\",\"tim\",\"536\",\"e=0\",\"&hl\",\"sst\",\"end\",\"360\",\"&hl\",\"942\"];\r\n>                                             var rnSretbysueaUgarireAl = [\"&hl\",\"e=0\",\"sh\",\"&hl\",\"sst\",\"942\",\"e=1\",\"tim\",\"art\",\"360\",\"tim\",\"end\",\"hls\",\"536\"];\r\n>                                             var nlrarraySseUeitreubgA = [\"sh\",\"hls\",\"tim\",\"&hl\",\"tim\",\"942\",\"e=1\",\"536\",\"e=0\",\"sst\",\"&hl\",\"art\",\"end\",\"360\"];\r\n>                                             var eraynrtrrAlgSeabeusiU = [\"536\",\"sh\",\"942\",\"hls\",\"tim\",\"&hl\",\"art\",\"e=0\",\"e=1\",\"tim\",\"end\",\"360\",\"sst\",\"&hl\"];\r\n>                                             var neuUSgriaryblrtresAea = [\"&hl\",\"e=1\",\"sh\",\"tim\",\"e=0\",\"hls\",\"art\",\"tim\",\"sst\",\"536\",\"end\",\"360\",\"&hl\",\"942\"];\r\n>                                             var lsaSutriarrngArybUeae = [\"hls\",\"end\",\"tim\",\"e=1\",\"536\",\"942\",\"360\",\"&hl\",\"sst\",\"art\",\"tim\",\"e=0\",\"&hl\",\"sh\"];\r\n>                                             var syStrgbienreuaAlUerra = [\"e=0\",\"e=1\",\"536\",\"&hl\",\"sh\",\"art\",\"sst\",\"tim\",\"end\",\"360\",\"tim\",\"hls\",\"942\",\"&hl\"];\r\n>                                             var grUylareeabuntrierSAs = [\"&hl\",\"tim\",\"942\",\"&hl\",\"hls\",\"art\",\"e=1\",\"sh\",\"sst\",\"tim\",\"e=0\",\"536\",\"360\",\"end\"];\r\n>                                             var SgietnrrubyeAasUrealr = [\"sst\",\"&hl\",\"e=0\",\"sh\",\"536\",\"tim\",\"360\",\"e=1\",\"hls\",\"art\",\"tim\",\"end\",\"&hl\",\"942\"];\r\n>                                             var UyurenrbtgeSasarleriA = [\"e=0\",\"536\",\"e=1\",\"&hl\",\"360\",\"tim\",\"hls\",\"sh\",\"sst\",\"tim\",\"&hl\",\"end\",\"942\",\"art\"];\r\n>                                             var ryarAtsaurenlbgUierSe = [\"536\",\"360\",\"tim\",\"hls\",\"e=1\",\"&hl\",\"942\",\"&hl\",\"end\",\"art\",\"sst\",\"e=0\",\"sh\",\"tim\"];\r\n>                                             var lrgyUbeeuSeiAarnsratr = [\"e=1\",\"&hl\",\"art\",\"tim\",\"360\",\"&hl\",\"hls\",\"536\",\"sh\",\"e=0\",\"tim\",\"end\",\"sst\",\"942\"];\r\n>                                             var gyrltaAeuUsnSrereibra = [\"536\",\"art\",\"e=0\",\"e=1\",\"942\",\"tim\",\"&hl\",\"360\",\"&hl\",\"sst\",\"hls\",\"sh\",\"tim\",\"end\"];\r\n>                                             var urrnegsaaStUleirbAeyr = [\"tim\",\"&hl\",\"tim\",\"sh\",\"942\",\"360\",\"art\",\"&hl\",\"536\",\"hls\",\"end\",\"e=0\",\"e=1\",\"sst\"];\r\n>                                             var UeireeraASynbulratsrg = [\"tim\",\"e=1\",\"360\",\"sh\",\"942\",\"end\",\"536\",\"&hl\",\"sst\",\"tim\",\"hls\",\"&hl\",\"art\",\"e=0\"];\r\n>                                             var playerElement = document.getElementById(\"hdplayer\");\r\n>                                             var player = new Clappr.Player({\r\n>                                              height: \"440\",\r\n>                                              width: \"700\",\r\n>                                              mute: 'true',\r\n>                                               plugins: {\r\n>                                                 'core': [LevelSelector]\r\n>                                               },\r\n>                                              hlsjsConfig: {\r\n>                                              xhrSetup: function(xhr, url) {\r\n>                                               xhr.withCredentials = false;\r\n>                                              }\r\n>                                              }\r\n>                                             });\r\n>                                             player.attachTo(playerElement);\r\n>                                             player.load({source: tepUttHgrl(), mimeType: 'application/vnd.apple.mpegurl'});\r\n>                                             player.play();\r\n> ```\r\ni had this code in wlive.tv\r\nthere should be something in HTML like this:\r\n`function gtrUtHplet() {\r\n        return([\"\\/\",\"\\/\",\"t\",\"v\",\".\",\"w\",\"l\",\"i\",\"v\",\"e\",\".\",\"t\",\"v\",\"\\/\",\"t\",\"v\",\"\\/\",\"B\",\"T\",\"Y\",\"1\",\"W\",\"t\",\"Y\",\"8\",\"L\",\"g\",\"2\",\"0\",\"1\",\"8\",\"0\",\"3\",\"2\",\"1\",\"\\/\",\"p\",\"l\",\"a\",\"y\",\"l\",\"i\",\"s\",\"t\",\".\",\"m\",\"3\",\"u\",\"8\",\"?\"].join(\"\") + aAlStusngrereirbraUay.join(\"\") + document.getElementById(\"trcSBfaangikestuih\").innerHTML);\r\n    }`\r\n\r\n\r\n\r\n`\r\n# this will return correct url:\r\n\r\n\tpi = re.findall('return\\\\((.*?)\\\\);',HTMLcontent)\r\n\tprint pi\r\n\tpi=pi[0]\r\n\tif pi:\r\n\t\r\n\t\r\n\t\tjoin = re.findall('(\\\\[.*?\\\\]).join',pi)\r\n\t\tel_id = re.findall('(\\\\w+).join',pi)\r\n\t\taa = re.findall('document.getElementById\\\\(\"(.*?)\"',pi)\r\n\t\tif join:\r\n\t\t\tjoin = ''.join(eval(join[0])).replace('\\\\','')\r\n\t\tprint join\r\n\t\tif el_id:\r\n\t\t\ttmp = re.findall('var %s\\\\s*=\\\\s*(\\\\[.*?\\\\])'%el_id[0],HTMLcontent)\r\n\t\t\tel_id = ''.join(eval(tmp[0])) if tmp else ''\r\n\t\tif aa:\r\n\t\t\taa = re.findall('%s\\\\s*>(.*?)<'%aa[0],HTMLcontent)\r\n\t\t\taa = aa[0] if aa else ''\r\n\t\t\tvideo_url = join + el_id + aa +'|User-Agent='+U'+'&Referer='+url_main\r\n\t\t\tprint video_url\r\n`\r\nUA is your user agent, url_main is referer.\r\nso try this."}}
{"actor":{"display_login":"mbebe"}}