Download R18 via console

Alrite … Vô vấn đề luôn. R18 PRIME cho phép live stream các films của khoảng 17 Channels. Nhưng vấn đề là ta muốn download hết cơ ! Vậy thì sao.

Ta có được json sau

{"status":"OK","list":[{"bitrate":"0","url":"http:\/\/str.dmm.com:80\/r18\/st1:8w5RiqwK5dvVtdFThvh3VuzzrlCG-gBUes37YXkWCpZavUN0SVgy7o5uvkhtzlYwQNZiIRszyp3tqw4IE1rdWXFzJCaNyMqwO8DtumPkJFE%3D\/3n1Qo07cV9vCeYbNdYyMONY\/-\/playlist.m3u8?ld=ZMC%2FiHu11cUZajOfmVjLbCtWjRNGnbVAu5OkHPVQV8feiiX5vmZvjBSN5nOXLtAgeoZ9u3r3hplm977hDQeEse%2F5L3MVpN4dGuKetN2GYeZFbhzSJkH2CW8hYRTQYAfwr4rFwkxldpbs%2Fr9rn4tQ7UFutomzdG9DlK8ySHzgp9x%2FqmsGaR2ltgnAQGKNdx%2FGPjmGQcuUnD7BFVT4BduP102lEeRv9OQLwMH9EObQtB8sjj3lKWoa6LO%2BeykbBao0JA2fkP1RrlFUoCpP6i1p1oyVZ6uETzDI%2FCBXcubiYFuuaSaJSV1YoRFRrYFRCDd0"},{"bitrate":"300","url":"http:\/\/str.dmm.com:80\/r18\/st1:8w5RiqwK5dvVtdFThvh3VlxUc%2Bg2Gw%2BENB4OZ5rFihcH5cZ9IIVnZM35-ULzQT8e\/WelOeM7873lqGyv8CWnA7d\/-\/playlist.m3u8?ld=ZMC%2FiHu11cUZajOfmVjLbCtWjRNGnbVAu5OkHPVQV8feiiX5vmZvjBSN5nOXLtAgeoZ9u3r3hplm977hDQeEse%2F5L3MVpN4dGuKetN2GYeZFbhzSJkH2CW8hYRTQYAfwr4rFwkxldpbs%2Fr9rn4tQ7UFutomzdG9DlK8ySHzgp9x%2FqmsGaR2ltgnAQGKNdx%2FGPjmGQcuUnD7BFVT4BduP102lEeRv9OQLwMH9EObQtB8sjj3lKWoa6LO%2BeykbBao0JA2fkP1RrlFUoCp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2%2Fdj%2FIOrjzGQ8"},{"bitrate":"3000","url":"http:\/\/str.dmm.com:80\/r18\/st1:8w5RiqwK5dvVtdFThvh3VkhTfE6X2iZqOyiyQ70Lsll2uiaj2djSD7uNyCLCwIpXtacMIU0um3VmChpvrLhhLg%3D%3D\/3JaHpQpnN3cQnG2j8es6cFG\/-\/playlist.m3u8?ld=ZMC%2FiHu11cUZajOfmVjLbCtWjRNGnbVAu5OkHPVQV8feiiX5vmZvjBSN5nOXLtAgeoZ9u3r3hplm977hDQeEse%2F5L3MVpN4dGuKetN2GYeZFbhzSJkH2CW8hYRTQYAfwr4rFwkxldpbs%2Fr9rn4tQ7UFutomzdG9DlK8ySHzgp9x%2FqmsGaR2ltgnAQGKNdx%2FGPjmGQcuUnD7BFVT4BduP102lEeRv9OQLwMH9EObQtB8sjj3lKWoa6LO%2BeykbBao0JA2fkP1RrlFUoCpP6i1p1oyVZ6uETzDI%2FCBXcubiYFtagws%2FhxF2%2Fdj%2FIOrjzGQ8"},{"bitrate":"4000","url":"http:\/\/str.dmm.com:80\/r18\/st1:8w5RiqwK5dvVtdFThvh3Vr1OyYAigBlG8odkghkgHXI1Jukngkols-l5i4Gt-yASbPdevgdDUqgo-RzShjjsVQ%3D%3D\/3f218eruZ3X1tA8seMuHG4O\/-\/playlist.m3u8?ld=ZMC%2FiHu11cUZajOfmVjLbCtWjRNGnbVAu5OkHPVQV8feiiX5vmZvjBSN5nOXLtAgeoZ9u3r3hplm977hDQeEse%2F5L3MVpN4dGuKetN2GYeZFbhzSJkH2CW8hYRTQYAfwr4rFwkxldpbs%2Fr9rn4tQ7UFutomzdG9DlK8ySHzgp9x%2FqmsGaR2ltgnAQGKNdx%2FGPjmGQcuUnD7BFVT4BduP102lEeRv9OQLwMH9EObQtB8sjj3lKWoa6LO%2BeykbBao0JA2fkP1RrlFUoCpP6i1p1oyVZ6uETzDI%2FCBXcubiYFuBK%2FBhqvp60ljWyY7W%2Bcq2"},{"bitrate":"6000","url":"http:\/\/str.dmm.com:80\/r18\/st1:8w5RiqwK5dvVtdFThvh3Vm1iAXJ9fXmUDJ3hZn5wwDKNmo-XGexsO0b73JxNbs%2ByOkZ8X4mO8itUJ-xhZaFLSQ%3D%3D\/336ZUUuZE7vYBYAS3Tq6ehx\/-\/playlist.m3u8?ld=ZMC%2FiHu11cUZajOfmVjLbCtWjRNGnbVAu5OkHPVQV8feiiX5vmZvjBSN5nOXLtAgeoZ9u3r3hplm977hDQeEse%2F5L3MVpN4dGuKetN2GYeZFbhzSJkH2CW8hYRTQYAfwr4rFwkxldpbs%2Fr9rn4tQ7UFutomzdG9DlK8ySHzgp9x%2FqmsGaR2ltgnAQGKNdx%2FGPjmGQcuUnD7BFVT4BduP102lEeRv9OQLwMH9EObQtB8sjj3lKWoa6LO%2BeykbBao0JA2fkP1RrlFUoCpP6i1p1oyVZ6uETzDI%2FCBXcubiYFuBK%2FBhqvp60ljWyY7W%2Bcq2"}]}
  • list[0] chứa URL
  • list[end] cho biết format tối đa ( tốt nhất ) support
  • Fetch tiếp list[end] để biết max number of ts
  • Merge với URL của list[0] và thế là down thôi 😀
R18 - Console
Download R18 via console

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: