From 2420217ede260cf7805e937be3c3e71f7177d4d2 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Fri, 14 Aug 2020 19:27:27 +0200 Subject: [PATCH] fix Mystream e support --- core/support.py | 2 +- servers/mystream.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/support.py b/core/support.py index 7a270d10..41388039 100755 --- a/core/support.py +++ b/core/support.py @@ -480,7 +480,7 @@ def scrape(func): break if (pagination and len(matches) <= pag * pagination) or not pagination: # next page with pagination - if patronNext and inspect.stack()[1][3] not in ['newest', 'search']: + if patronNext and inspect.stack()[1][3] not in ['newest']: nextPage(itemlist, item, data, patronNext, function) # next page for pagination diff --git a/servers/mystream.json b/servers/mystream.json index 6344989c..46f8c4cf 100644 --- a/servers/mystream.json +++ b/servers/mystream.json @@ -4,7 +4,7 @@ "ignore_urls": [], "patterns": [ { - "pattern": "my?stream\\.(?:\\w+\\.)?(?:la|to|cloud|xyz|club)/(?:external|watch/)?([0-9a-zA-Z_]+)", + "pattern": "my?stream\\.(?:\\w+\\.)?[^/]+/(?:external|watch/|embed-)?([0-9a-zA-Z_]+)", "url": "https://embed.mystream.to/\\1" } ]