Closed anovicecodemonkey closed 8 years ago
One way I got around this was changing cspan.py in source.
The line in cspan.py I changed was info_url = 'http://c-spanvideo.org/videoLibrary/assets/player/ajax-player.php?os=android&html5=program&id='
I changed os=android to os=windows. This enabled the download, but on my distribution of Debian, I have an older and less complete ffmpeg, which gave me a playlist unknown format error. so I used this guide: http://www.e-rave.nl/installing-ffmpeg-on-debian-squeeze-and-newer to install ffmpeg from source. After getting it installed properly I can now download those videos that gave me 403 forbidden error.
it's working with the latest version:
python2 __main__.py http://www.c-span.org/video/?321005-1/news-conference-confidential-news-sources
[CSpan] 321005: Downloading webpage
[CSpan] 360476: Downloading JSON metadata
[CSpan] 360476: Downloading XML
WARNING: ar subtitles not available for 360476
WARNING: arME subtitles not available for 360476
[info] Writing video subtitles to: Freedom of the Press-360476.en.dfxp
[download] Destination: Freedom of the Press-360476.mp4
[#29c53b 5.0MiB/589MiB(0%) CN:16 DL:187KiB ETA:53m5s]