that's all folks
This commit is contained in:
9
grpoppro
9
grpoppro
@@ -166,14 +166,7 @@ function menuSearch {
|
|||||||
getIMDBID "$title"
|
getIMDBID "$title"
|
||||||
simpleurl="$apiurl/embed/$imdbid/"
|
simpleurl="$apiurl/embed/$imdbid/"
|
||||||
getInternalID "$simpleurl"
|
getInternalID "$simpleurl"
|
||||||
response="$(curl -s -L -c "$GRPOPPRO_COOKIE_FILE" -b "$GRPOPPRO_COOKIE_FILE" \
|
response="$(curlRequest "$apiurl/uploads/playlists/$internalid.txt")"
|
||||||
-A "$USER_AGENT" \
|
|
||||||
-H "$ACCEPT" \
|
|
||||||
-H "$ACCEPT_LANGUAGE" \
|
|
||||||
-H "$CONNECTION" \
|
|
||||||
-H "$UP_IN_REQ" \
|
|
||||||
"$apiurl/uploads/playlists/$internalid.txt"
|
|
||||||
)"
|
|
||||||
echo "$response" > "$GRPOPPRO_PLAYLIST_FILE"
|
echo "$response" > "$GRPOPPRO_PLAYLIST_FILE"
|
||||||
title="$(grep "mp4" "$GRPOPPRO_PLAYLIST_FILE" | head -n1 | awk -F/ '{print $(NF-1)}')"
|
title="$(grep "mp4" "$GRPOPPRO_PLAYLIST_FILE" | head -n1 | awk -F/ '{print $(NF-1)}')"
|
||||||
title="${title//_/ }"
|
title="${title//_/ }"
|
||||||
|
|||||||
Reference in New Issue
Block a user