Compare commits
8 Commits
2016.07.09
...
2016.07.09
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0286b85c79 | ||
|
|
ab52bb5137 | ||
|
|
61a98b8623 | ||
|
|
6daf34a045 | ||
|
|
c03adf90bd | ||
|
|
0ece114b7b | ||
|
|
5b6a74856b | ||
|
|
ccff2c404d |
6
.github/ISSUE_TEMPLATE.md
vendored
6
.github/ISSUE_TEMPLATE.md
vendored
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2016.07.09.1*. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
|
### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2016.07.09.2*. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.
|
||||||
- [ ] I've **verified** and **I assure** that I'm running youtube-dl **2016.07.09.1**
|
- [ ] I've **verified** and **I assure** that I'm running youtube-dl **2016.07.09.2**
|
||||||
|
|
||||||
### Before submitting an *issue* make sure you have:
|
### Before submitting an *issue* make sure you have:
|
||||||
- [ ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
|
- [ ] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections
|
||||||
@@ -35,7 +35,7 @@ $ youtube-dl -v <your command line>
|
|||||||
[debug] User config: []
|
[debug] User config: []
|
||||||
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
|
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
|
||||||
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
|
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
|
||||||
[debug] youtube-dl version 2016.07.09.1
|
[debug] youtube-dl version 2016.07.09.2
|
||||||
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
|
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
|
||||||
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
|
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
|
||||||
[debug] Proxy map: {}
|
[debug] Proxy map: {}
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ class AnimeOnDemandIE(InfoExtractor):
|
|||||||
'formats': formats,
|
'formats': formats,
|
||||||
}
|
}
|
||||||
|
|
||||||
def extract_entries(html, video_id, common_info, num):
|
def extract_entries(html, video_id, common_info, num=None):
|
||||||
info = extract_info(html, video_id, num)
|
info = extract_info(html, video_id, num)
|
||||||
|
|
||||||
if info['formats']:
|
if info['formats']:
|
||||||
|
|||||||
@@ -231,11 +231,13 @@ class FacebookIE(InfoExtractor):
|
|||||||
continue
|
continue
|
||||||
if isinstance(f, dict):
|
if isinstance(f, dict):
|
||||||
f = [f]
|
f = [f]
|
||||||
if isinstance(f, list):
|
if not isinstance(f, list):
|
||||||
continue
|
continue
|
||||||
if f[0].get('video_id') == video_id:
|
if f[0].get('video_id') == video_id:
|
||||||
video_data = video_data_candidate
|
video_data = video_data_candidate
|
||||||
break
|
break
|
||||||
|
if video_data:
|
||||||
|
break
|
||||||
|
|
||||||
def video_data_list2dict(video_data):
|
def video_data_list2dict(video_data):
|
||||||
ret = {}
|
ret = {}
|
||||||
|
|||||||
@@ -1313,6 +1313,21 @@ class GenericIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'add_ie': ['Kaltura'],
|
'add_ie': ['Kaltura'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
# Non-standard Vimeo embed
|
||||||
|
'url': 'https://openclassrooms.com/courses/understanding-the-web',
|
||||||
|
'md5': '64d86f1c7d369afd9a78b38cbb88d80a',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '148867247',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Understanding the web - Teaser',
|
||||||
|
'description': 'This is "Understanding the web - Teaser" by openclassrooms on Vimeo, the home for high quality videos and the people who love them.',
|
||||||
|
'upload_date': '20151214',
|
||||||
|
'uploader': 'OpenClassrooms',
|
||||||
|
'uploader_id': 'openclassrooms',
|
||||||
|
},
|
||||||
|
'add_ie': ['Vimeo'],
|
||||||
|
},
|
||||||
# {
|
# {
|
||||||
# # TODO: find another test
|
# # TODO: find another test
|
||||||
# # http://schema.org/VideoObject
|
# # http://schema.org/VideoObject
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ class LyndaIE(LyndaBaseIE):
|
|||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://www.lynda.com/Bootstrap-tutorials/Using-exercise-files/110885/114408-4.html',
|
'url': 'http://www.lynda.com/Bootstrap-tutorials/Using-exercise-files/110885/114408-4.html',
|
||||||
'md5': '679734f6786145da3546585de9a356be',
|
# md5 is unstable
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '114408',
|
'id': '114408',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
|||||||
@@ -364,6 +364,11 @@ class VimeoIE(VimeoBaseInfoExtractor):
|
|||||||
r'<embed[^>]+?src="((?:https?:)?//(?:www\.)?vimeo\.com/moogaloop\.swf.+?)"', webpage)
|
r'<embed[^>]+?src="((?:https?:)?//(?:www\.)?vimeo\.com/moogaloop\.swf.+?)"', webpage)
|
||||||
if mobj:
|
if mobj:
|
||||||
return mobj.group(1)
|
return mobj.group(1)
|
||||||
|
# Look more for non-standard embedded Vimeo player
|
||||||
|
mobj = re.search(
|
||||||
|
r'<video[^>]+src=(?P<q1>[\'"])(?P<url>(?:https?:)?//(?:www\.)?vimeo\.com/[0-9]+)(?P=q1)', webpage)
|
||||||
|
if mobj:
|
||||||
|
return mobj.group('url')
|
||||||
|
|
||||||
def _verify_player_video_password(self, url, video_id):
|
def _verify_player_video_password(self, url, video_id):
|
||||||
password = self._downloader.params.get('videopassword')
|
password = self._downloader.params.get('videopassword')
|
||||||
|
|||||||
@@ -363,8 +363,10 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
|
|||||||
input_files = [filename] + sub_filenames
|
input_files = [filename] + sub_filenames
|
||||||
|
|
||||||
opts = [
|
opts = [
|
||||||
'-map', '0',
|
'-map', '0:v',
|
||||||
'-c', 'copy',
|
'-c:v', 'copy',
|
||||||
|
'-map', '0:a',
|
||||||
|
'-c:a', 'copy',
|
||||||
# Don't copy the existing subtitles, we may be running the
|
# Don't copy the existing subtitles, we may be running the
|
||||||
# postprocessor a second time
|
# postprocessor a second time
|
||||||
'-map', '-0:s',
|
'-map', '-0:s',
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
__version__ = '2016.07.09.1'
|
__version__ = '2016.07.09.2'
|
||||||
|
|||||||
Reference in New Issue
Block a user