|
|
@ -102,7 +102,7 @@ fi
|
|
|
|
IFS=',' read -r -a filters <<< "$extrasLanguages"
|
|
|
|
IFS=',' read -r -a filters <<< "$extrasLanguages"
|
|
|
|
for filter in "${filters[@]}"
|
|
|
|
for filter in "${filters[@]}"
|
|
|
|
do
|
|
|
|
do
|
|
|
|
if [ "$useProxy" != "true" ] ; then
|
|
|
|
if [ "$useProxy" != "true" ]; then
|
|
|
|
tmdbVideosListData=$(curl -s "https://api.themoviedb.org/3/movie/$tmdbId/videos?api_key=$tmdbApiKey&language=$filter" | jq -r '.results[] | select(.site=="YouTube")')
|
|
|
|
tmdbVideosListData=$(curl -s "https://api.themoviedb.org/3/movie/$tmdbId/videos?api_key=$tmdbApiKey&language=$filter" | jq -r '.results[] | select(.site=="YouTube")')
|
|
|
|
else
|
|
|
|
else
|
|
|
|
tmdbVideosListData=$(curl -x $proxyUrl:$proxyPort --proxy-user $proxyUsername:$proxyPassword -s "https://api.themoviedb.org/3/movie/$tmdbId/videos?api_key=$tmdbApiKey&language=$filter" | jq -r '.results[] | select(.site=="YouTube")')
|
|
|
|
tmdbVideosListData=$(curl -x $proxyUrl:$proxyPort --proxy-user $proxyUsername:$proxyPassword -s "https://api.themoviedb.org/3/movie/$tmdbId/videos?api_key=$tmdbApiKey&language=$filter" | jq -r '.results[] | select(.site=="YouTube")')
|
|
|
|