Update streamingwatch.py

Removed an useless print
This commit is contained in:
Urlo30
2024-08-19 21:39:40 +02:00
committed by GitHub
Unverified
parent a156676c57
commit d8beb45ac6
-1
View File
@@ -58,7 +58,6 @@ def search(showname,season,episode,date,ismovie):
for entry in data: for entry in data:
if f"stagione-{season}-episodio-{episode}" in entry["slug"]: if f"stagione-{season}-episodio-{episode}" in entry["slug"]:
content = entry["content"]["rendered"] content = entry["content"]["rendered"]
print(content)
#"content":{ #"content":{
# "rendered":"<p><!--baslik:PRO--><iframe loading=\"lazy\" src=\"https:\/\/hdplayer.gives\/embed\/YErLVq64uNTZRNz\" frameborder=\"0\" width=\"700\" height=\"400\" allowfullscreen><\/iframe><\/p>\n","protected":false} # "rendered":"<p><!--baslik:PRO--><iframe loading=\"lazy\" src=\"https:\/\/hdplayer.gives\/embed\/YErLVq64uNTZRNz\" frameborder=\"0\" width=\"700\" height=\"400\" allowfullscreen><\/iframe><\/p>\n","protected":false}
start = content.find('src="') + len('src="') #start of url start = content.find('src="') + len('src="') #start of url