reaktor-plugins url-title: don't strip youtube
This commit is contained in:
parent
7c613786d1
commit
6c7210cd10
@ -123,7 +123,7 @@ rec {
|
||||
script = pkgs.writeDash "lambda-pl" ''
|
||||
if [ "$#" -gt 0 ]; then
|
||||
curl -SsL --max-time 5 "$1" |
|
||||
perl -l -0777 -ne 'print $1 if /<title.*?>\s*(.*?)(?: - youtube)?\s*<\/title/si'
|
||||
perl -l -0777 -ne 'print $1 if /<title.*?>\s*(.*?)\s*<\/title/si'
|
||||
fi
|
||||
'';
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user