From 8468f9e939b6a2c13f9192d1d5f70fc2873a7b09 Mon Sep 17 00:00:00 2001 From: konsthol Date: Thu, 20 Oct 2022 23:55:01 +0300 Subject: [PATCH] fixed imdbid variable not working using Drew's fix --- grpoppro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 grpoppro diff --git a/grpoppro b/grpoppro old mode 100755 new mode 100644 index fe21c07..fcdf7d6 --- a/grpoppro +++ b/grpoppro @@ -52,7 +52,7 @@ seriesurl=$(curl -s 'https://coverapi.store/uploads/playlists/'$seriesid'.txt') } function getIMDBID() { -imdbid=$(curl -s "https://www.imdb.com/find?ref_=nv_sr_fn&s=all&q=$title" | grep -io ' href=['"'"'"][^"'"'"']*['"'"'"]' | grep 'href="/title/'| head -n1 | sed -e 's/href="\/title\///' -e 's/\/?.*//' -e 's/^ //') +imdbid=$(curl -s "https://www.imdb.com/find?ref_=nv_sr_fn&s=all&q=$title" | grep -io '