This commit is contained in:
lookshe 2012-04-17 23:04:24 +02:00
parent b682260545
commit e92f4f4425

View file

@ -68,7 +68,7 @@ foreach act_arg $arg {
}
}
if {([string match "*youtube*watch*" $url] == 1) || ([string match "*youtu.bei*" $url] ==1)} {
if {([string match "*youtube*watch*" $url] == 1) || ([string match "*youtu.be*" $url] ==1)} {
set title [exec perl -e "use URI::Title;binmode(STDOUT, \":utf8\");print URI::Title::title(\"$url\");"]
if {([string match "* - YouTube" $title] == 1)} {
set title [string range $title 0 end-10]