Enigma2 plugin to to play various online streams (mostly Latvian).

test8.py 617B

12345678910111213
  1. #import gi
  2. #import server.hqqresolver as resolver
  3. #import server.openload as resolver
  4. import resolver
  5. url = "http://hqq.tv/player/embed_player.php?vid=235238210241210222228241233208212245&autoplay=no"
  6. url = "http://hqq.tv/player/embed_player.php?vid=243221241234244238208213206212211231&autoplay=no"
  7. #url = "http://hqq.tv/player/embed_player.php?vid=208231211231207221227243206206221244&autoplay=no"
  8. #url = "https://openload.co/embed/TMthIdpy4PI/"
  9. url = "http://hqq.tv/player/embed_player.php?vid=S86NN57WO655&autoplay=no"
  10. url = "https://openload.co/embed/-TLf8Zqdwf8/"
  11. r= resolver.resolve(url)
  12. print r[0]["url"]
  13. pass