Replace YouTube links

This commit is contained in:
Omar Roth
2018-09-03 22:15:47 -05:00
parent 81c520e0dd
commit 0d8f036bf1
3 changed files with 14 additions and 41 deletions

View File

@@ -130,7 +130,7 @@ def fetch_playlist(plid)
description = description.to_xml.strip(" \n")
description = description.split("<button ")[0]
description = fill_links(description, "https", "www.youtube.com")
description = add_alt_links(description)
description = replace_links(description)
else
description = ""
end