removed black background from youtube error because xfnw/vulpine whined about it
This commit is contained in:
parent
3bd2c2dfb0
commit
2d6d86fdb7
|
@ -71,8 +71,8 @@ class YouTube:
|
|||
data = urlopen(url).read().decode()
|
||||
p.feed(data)
|
||||
if y == z == {}:
|
||||
irc_string = "[\x0304Youtube\x03] \x0307ERROR:\x0308,01 got no data from server! \x0315(check your URL for typos!)\x03"
|
||||
ansi_string = "[\x1b[31mYoutube\x1b[0m] \x1b[33;2;40mERROR:\x1b[33;1m got no data from server! \x1b[37;2m(check your URL for typos!)\x1b[0m"
|
||||
irc_string = "[\x0304Youtube\x03] \x0307ERROR:\x0308 got no data from server! \x0315(check your URL for typos!)\x03"
|
||||
ansi_string = "[\x1b[31mYoutube\x1b[0m] \x1b[33;2mERROR:\x1b[33;1m got no data from server! \x1b[37;2m(check your URL for typos!)\x1b[0m"
|
||||
print(ansi_string)
|
||||
return irc_string
|
||||
z.update({"duration": self.fmt_dur(z["duration"])})
|
||||
|
|
Loading…
Reference in New Issue