diff options
author | lassulus <lassulus@lassul.us> | 2018-01-16 21:24:15 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-01-16 21:24:15 +0100 |
commit | 6c7210cd10b4b23930a027a8cd1fb166ed5151e6 (patch) | |
tree | c154de3b25691ca56bb61679da6f5c5792610352 /krebs/5pkgs/simple | |
parent | 7c613786d106d6254d16cc4312128ebc5a040567 (diff) |
reaktor-plugins url-title: don't strip youtube
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r-- | krebs/5pkgs/simple/Reaktor/plugins.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/Reaktor/plugins.nix b/krebs/5pkgs/simple/Reaktor/plugins.nix index 518e80d0e..bcfcbf76b 100644 --- a/krebs/5pkgs/simple/Reaktor/plugins.nix +++ b/krebs/5pkgs/simple/Reaktor/plugins.nix @@ -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 ''; }); |