|
@@ -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)
|