YouTube: Better error message for protected videos
commit8f167f89a0bd92090feed13a38fc07b403cddcc4
authorThomas Perl <m@thp.io>
Sat, 18 Dec 2010 13:32:33 +0000 (18 14:32 +0100)
committerThomas Perl <m@thp.io>
Sat, 18 Dec 2010 13:32:33 +0000 (18 14:32 +0100)
treefc2b3eda43f2aaec9d750070abe20f59dfe87c55
parentbbd57207756d68e4c362891c6bf0db6c685e9ce3
YouTube: Better error message for protected videos

YouTube protects pages that contain violence, etc.. by
requiring users to login to prove they are over 18. We
can't determine the fmt_url_map in that case, so this
patch adds a better error message to the failed download.
src/gpodder/youtube.py