Browse Source

0.6u TVDom kļūda

Ivars 7 years ago
parent
commit
6e984545e4

+ 1
- 1
PlayStream.py View File

@@ -6,7 +6,7 @@
6 6
 # Used fragments of code from enigma2-plugin-tv3play by Taapat (https://github.com/Taapat/enigma2-plugin-tv3play)
7 7
 #
8 8
 
9
-__version__ = "0.6t"
9
+__version__ = "0.6u"
10 10
 __id__ = "playstream"
11 11
 __title__ = "PlayStream"
12 12
 __author__ = "ivars777@gmail.com"

+ 321
- 451
PlayStream.wpr
File diff suppressed because it is too large
View File


+ 3
- 0
changelog.md View File

@@ -1,3 +1,6 @@
1
+**0.6u** (17.06.2017)
2
+- [bugfix] TVDom live stream kļūda
3
+
1 4
 **0.6t** (17.06.2017)
2 5
 - [bugfix] kļūda verot vaļā HTTPS lapas (urllib2 SSL: CERTIFICATE_VERIFY_FAILED)
3 6
 

BIN
release/enigma2-plugin-extensions-playstream_0.6u.ipk View File


BIN
sources/SourceBase.pyc View File


BIN
sources/YouTubeVideoUrl.pyc View File


BIN
sources/cinemalive.pyc View File


BIN
sources/euronews.pyc View File


BIN
sources/filmix.pyc View File


BIN
sources/filmon.pyc View File


BIN
sources/iplayer.pyc View File


BIN
sources/ltc.pyc View File


BIN
sources/movieplace.pyc View File


BIN
sources/mtgplay.pyc View File


BIN
sources/play24.pyc View File


BIN
sources/replay.pyc View File


BIN
sources/serialguru.pyc View File


+ 2
- 2
sources/tvdom.py View File

@@ -99,7 +99,7 @@ Referer: https://tvdom.tv/
99 99
             url = "https://tvdom.tv/"
100 100
             r = self._http_request(url)
101 101
             #channels1 = re.findall(r'data-xprs_status="\d" data-href="/tiesraides/([^/]+)/[^"]+">.+?src="([^"]+)" alt="([^"]+)">', r, re.DOTALL)
102
-            channels2 = re.findall(r'<a class="channel-name">([^<]*)</a>\s+<div class="redirect-to-url" data-href="/tiesraides/([^/]+)/[^"]+">.+?<img style="width:100%;" src="([^"]+)".+?<h3>([^<]+)</h3>.+?<p class="unix">([^<]+)</p>', r, re.DOTALL)
102
+            channels2 = re.findall(r'<a class="channel-name">([^<]*)</a>\s+<div class="redirect-to-url" data-href="/tiesraides/([^/]+)/[^"]*">.+?<img style="width:100%;" src="([^"]+)".+?<h3>([^<]+)</h3>.+?<p class="unix">([^<]+)</p>', r, re.DOTALL)
103 103
             channels = {}
104 104
             for item in channels2:
105 105
                 title = item[0]
@@ -111,7 +111,7 @@ Referer: https://tvdom.tv/
111 111
                 #content.append((title,self.name+"::"+data2,img,desc))
112 112
 
113 113
             for r2 in re.findall(r'<div class="thumbnail-menu pull-left updater"(.+?)</div>\s+</div>', r, re.DOTALL):
114
-                ch = re.search('data-href="/tiesraides/([^/]+)/[^"]+"', r2, re.DOTALL).group(1)
114
+                ch = re.search('data-href="/tiesraides/([^/]+)/[^"]*"', r2, re.DOTALL).group(1)
115 115
                 data2 = "tiesraides/"+ch
116 116
                 m = re.search('src="(.+?)" alt="(.+?)">', r2, re.DOTALL)
117 117
                 title = m.group(2)

BIN
sources/tvdom.pyc View File


BIN
sources/ustvnow.pyc View File


BIN
sources/viaplay.pyc View File