typo
This commit is contained in:
parent
b682260545
commit
e92f4f4425
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue