1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

Update mtvnn.py

This commit is contained in:
Anton 2016-08-22 15:32:04 +02:00 committed by GitHub
parent c799375e73
commit 1825ad834e

View File

@ -18,7 +18,7 @@ class Mtvnn(Service, OpenGraphThumbMixin):
def get(self):
data = self.get_urldata()
match = re.search(r'data-mrss=[\'"](http://api.mtvnn.com/v2/mrss.xml[^\'"]+)[\'"]', data)
match = re.search(r'data-mrss=[\'"](http://gakusei-cluster.mtvnn.com/v2/mrss.xml[^\'"]+)[\'"]', data)
if not match:
yield ServiceError("Can't find id for the video")
return