I know how to download crunchyroll videos manually by using ip tables and rtmpsrv and rtmpdump, but that is such a long and boring process since you need to kill rtmpsrv once it gets the parameters and turn off the iptables rule and copy paste the command from rtmpsrv into terminal in order to download the video.
I was wondering if anyone has or could make a script of some kind that asks for user input of the url that they want to download. I was thinking shell script using 'sed' or 'grep' or something like that to get the rtmpdump parameters out.
So pretty much this is the process in order of how I do it.
Code:
"sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT"
"rtmpsrv"
Open web browser and navigate to the crunchyroll page you want to download.
Wait for parameters to appear on screen.
Kill rtmpsrv
"sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT"
copy and paste the parameters into terminal and run it.
So if their is any way to automate this process that would be just the best, and also if its possible add the ability to input a list of urls and do many at the same time or one after the other.