RandomNinjaAtk / docker-sonarr-extended

Sonarr (develop) with bash scripts to automate and extend functionality.
GNU General Public License v3.0
67 stars 15 forks source link

(Youtube Downloader) Allow `-` in production code #30

Closed mikhail5555 closed 1 year ago

mikhail5555 commented 1 year ago

Allow production code to contain - characters

Example before:

 ➜  ~ curl -s "https://thetvdb.com/series/kurzgesagt-in-a-nutshell/episodes/8645109" | grep -iwns "production code" -A 2 | sed 's/\ //g' | cut -d "-" -f2 | tail -n1
1

After:

 ➜  ~ curl -s "https://thetvdb.com/series/kurzgesagt-in-a-nutshell/episodes/8645109" | grep -iws "production code" -A 2 | sed 's/\ //g' | tail -n1
1-NxodiGPCU