Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Automated Crunchyroll Video DownloaderI 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. |
#2
|
|||
|
|||
Re: Automated Crunchyroll Video DownloaderAlthough it's not entirely automated, there is a batch file that uses rtmpExplorer to download the flv, extracts the video url from the command.bat file it generates and feeds that into the subtitle downloader python script, uses an flv splitter to extract the 264 and aac, then mkvmerge on the video, audio, and subtitles to create a finished mkv file.
Basically takes several free scripts/apps and ties them together with a batch file. Not the most advanced thing in the world, but gets the job done on a Windows PC. Code:
http://www.darkztar.com/forum/showthread.php?219034-Ripping-videos-amp-subtitles-from-Crunchyroll-(noob-friendly) |
#3
|
|||
|
|||
Re: Automated Crunchyroll Video DownloaderNo need to be so arrogant. You could of just said that their was a better way to do it and point me in the right direction instead of making out like i'm an idiot. The way I described works for me and I have tried other ways but have had no luck with them. So thanks for nothing.
|
#4
|
|||
|
|||
Re: Automated Crunchyroll Video DownloaderYou run iptables on a separate user, on the same computer. This way you dont constantly set and unset iptables. If you dont read the README, you deserve what you get.
github.com/svnpenn/rtmpdump/blob/master/README#L158 |
#5
|
|||
|
|||
Re: Automated Crunchyroll Video DownloaderOk I read the readme but im still having to turn off the iptables rule to download the video with rtmpdump otherwise it just spits out
Code:
ERROR: RTMP_ReadPacket, failed to read RTMP packet header Code:
jason@Jason-Ubuntu:~$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner dump \-j REDIRECT jason@Jason-Ubuntu:~$ rtmpsrv RTMP Server v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 rtmpdump -r "rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEbwddcYaTchcucFdDaec6c4bHcOddcxam-bqREuS-dHa-nDGylqMCEwu&aifp=0009&slist=c18/s/ve900327/video.mp4" -a "ondemand/?auth=daEbwddcYaTchcucFdDaec6c4bHcOddcxam-bqREuS-dHa-nDGylqMCEwu&aifp=0009&slist=c18/s/ve900327/video.mp4" -f "LNX 11,5,31,2" -W "http://static.ak.crunchyroll.com/flash/20121113143627.3b39cdda2f82615db501d81cf0365762/ChromelessPlayerApp.swf?config_url=http%3A%2F%2Fwww.crunchyroll.com%2Fxml%2F%3Freq%3DRpcApiVideoPlayer_GetChromelessConfig&use_explicit_config=1" -p "http://www.crunchyroll.com/my-little-monster/episode-1-sitting-next-to-yoshida-kun-612037" -y "mp4:c18/s/ve900327/video.mp4" -o video.flv Closing connection... done! RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: Type mismatch: client sent 6, server answered 8 INFO: Connected... Duplicate request, skipping. Caught signal: 13, cleaning up, just a second... ERROR: WriteN, RTMP send error 32 (42 bytes) Closing connection... done! ERROR: RTMP_ReadPacket, failed to read RTMP packet header ^CCaught signal: 2, cleaning up, just a second... |
#6
|
|||
|
|||
Re: Automated Crunchyroll Video DownloaderQuote:
|
Tags: automatic, crunchyroll, linux, rtmpdump, rtmpsrv, script, terminal |
Thread Tools | |
Display Modes | |
|
|