mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Remove debug info
This commit is contained in:
parent
2c6f8022e6
commit
bac66c798f
1 changed files with 0 additions and 2 deletions
|
@ -264,8 +264,6 @@ def content_to_comment_html(content)
|
||||||
if url
|
if url
|
||||||
url = URI.parse(url)
|
url = URI.parse(url)
|
||||||
|
|
||||||
puts url.path
|
|
||||||
puts url.host
|
|
||||||
if !url.host || {"m.youtube.com", "www.youtube.com", "youtu.be"}.includes? url.host
|
if !url.host || {"m.youtube.com", "www.youtube.com", "youtu.be"}.includes? url.host
|
||||||
if url.path == "/redirect"
|
if url.path == "/redirect"
|
||||||
url = HTTP::Params.parse(url.query.not_nil!)["q"]
|
url = HTTP::Params.parse(url.query.not_nil!)["q"]
|
||||||
|
|
Loading…
Reference in a new issue