Add new error pages and fix debug printing

This commit is contained in:
pluja 2020-08-31 09:38:35 +02:00
parent 85013bbc89
commit d1f090dab6
6 changed files with 0 additions and 3 deletions

View File

@ -233,7 +233,6 @@ def ytsearch():
})
for c in chnns:
print(c)
channels.append({
'username':c['name'],
'channelId':c['id'],
@ -321,7 +320,6 @@ def watch():
'id':id,
'averageRating': str((float(data['average_rating'])/5)*100)
}
print(video['description'])
return render_template("video.html", video=video)
def markupString(string):
@ -330,7 +328,6 @@ def markupString(string):
string = string.replace("https://youtube.com/", "")
string = string.replace("https://www.youtube.com/", "")
string = string.replace("https://twitter.com/", "/u/")
print(request.url)
return string
## PROXY videos through Yotter server to the client.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 49 KiB