Created attachment 179577 [details] svn diff patch Solves youtube playback problems, i.a.
Created attachment 179753 [details] update to youtube-dl 2017.02.07 let's bump this along to yesterday's version
OK, I'm checking it...
What an annoying software ... so frequent updates Is there real porting needed for this software to make it run under FreeBSD? If not one could let the user "install" it on his/her own and let them use the integrated update feature?! Perhaps the problem could be ports that rely on youtube-dl, like mpv ...
(In reply to kaltheat from comment #3) So many supported services, and every week at least one of then changes in some not-quite compatible way... It's even possible to run youtube-dl directly from a git clone of the upstream project, but that wouldn't help with the dependency problem. Though, you're free to keep a local version in e.g. ~/bin or /opt or however you manage your systems.
Thanks for the PR, Im updating it with the latest version.
Is it possible to merge this version into quarterly? The "old" one (in quarterly, 2016.12.12.) doesn't work: [youtube] qxEXupvXKUI: Downloading webpage [youtube] qxEXupvXKUI: Downloading video info webpage [youtube] qxEXupvXKUI: Extracting video information [youtube] qxEXupvXKUI: Downloading js player en_US-vflVlxFvV ERROR: Signature extraction failed: Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature video_id, player_url, s File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 919, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 517, in _download_webpage res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 424, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 404, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/local/lib/python2.7/urllib2.py", line 421, in open protocol = req.get_type() File "/usr/local/lib/python2.7/urllib2.py", line 283, in get_type raise ValueError, "unknown url type: %s" % self.__original ValueError: unknown url type: /yts/jsbin/player-en_US-vflVlxFvV/base.js (caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflVlxFvV/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Exit 1