diff --git a/streamingwatch.py b/streamingwatch.py index 2feec43..60f9e19 100644 --- a/streamingwatch.py +++ b/streamingwatch.py @@ -51,18 +51,19 @@ def search(showname,season,episode,date,ismovie): return hdplayer elif ismovie == 0: - query = f'https://streamingwatch.{SW_DOMAIN}/wp-json/wp/v2/posts?search={showname}' + query = f'https://streamingwatch.{SW_DOMAIN}/wp-json/wp/v2/posts?search={showname}&per_page=100' response = requests.get(query) data_json = response.text data = json.loads(data_json) for entry in data: if f"stagione-{season}-episodio-{episode}" in entry["slug"]: content = entry["content"]["rendered"] + print(content) #"content":{ # "rendered":"