euthane / weebradio Goto Github PK
View Code? Open in Web Editor NEWDownload and archive Japanese radio shows. Written in bash with spaghetti
Download and archive Japanese radio shows. Written in bash with spaghetti
Running weebradio.sh through WSL. Had to wrestle with few missing dependencies(JQ, ffmpeg, youtube-dl).
After trying to download the stream from https://hibiki-radio.jp/description/skdw/detail, ffmpeg is unable to read the keyfile for decryption. I was unable to find a way to feed the key directly to ffmpeg with my meager ffmpeg knowledge.
Here is the log:
sayi50@DESKTOP-N5TU954:/mnt/c/Users/sayi50/Desktop/weebradio-master$` bash weebradio.sh download --source hibiki --id skdw
skdw
[generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: /mnt/c/Users/sayi50/Desktop/weebradio-master/skdw/第13回.aac
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[hls @ 0x7fffe503e500] Skip ('#EXT-X-VERSION:3')
[hls @ 0x7fffe503e500] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 0x7fffe503e500] Opening 'https://vms-api.hibiki-radio.jp/api/v1/videos/datakey?kid=UiulGhTz%2BeZEL0EdW6iaVQ%3D%3D' for reading
[hls @ 0x7fffe503e500] Unable to read key file https://vms-api.hibiki-radio.jp/api/v1/videos/datakey?kid=UiulGhTz%2BeZEL0EdW6iaVQ%3D%3D
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00000.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00001.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00002.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00003.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00004.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00005.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00006.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00007.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00008.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00009.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00010.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00011.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00012.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00013.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00014.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00015.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00016.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00017.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00018.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00019.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00020.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00021.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00022.ts' for reading
[hls @ 0x7fffe503e500] Opening 'crypto+https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00023.ts' for reading
[hls @ 0x7fffe503e500] Error when loading first segment 'https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio00000.ts'
https://d22puzix29w08m.cloudfront.net/video/851be68b39f202cc0b1006417d99d092/cac7a7b288551383/ts_audio.m3u8: Invalid data found when processing input
ERROR: ffmpeg exited with code 1
Download failed. Retrying...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.