Compare commits
13 Commits
2013.06.23
...
2013.06.27
Author | SHA1 | Date | |
---|---|---|---|
|
2bc1820660 | ||
|
c7253e2e8c | ||
|
d69cf69a6a | ||
|
d02ecdefab | ||
|
bc857bfce0 | ||
|
f8bf74575a | ||
|
964ac8b584 | ||
|
a3522dfddd | ||
|
d3a8613b6e | ||
|
200b388752 | ||
|
dabcaf3b06 | ||
|
e646ffe795 | ||
|
b0dcc3c47f |
@@ -14,10 +14,12 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
skip_test=false
|
skip_tests=false
|
||||||
if [ "$2" == '--skip-test' ]; then
|
if [ "$1" = '--skip-test' ]; then
|
||||||
skip_test=true
|
skip_tests=true
|
||||||
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
|
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
|
||||||
version="$1"
|
version="$1"
|
||||||
if [ ! -z "`git tag | grep "$version"`" ]; then echo 'ERROR: version already present'; exit 1; fi
|
if [ ! -z "`git tag | grep "$version"`" ]; then echo 'ERROR: version already present'; exit 1; fi
|
||||||
|
5
setup.py
5
setup.py
@@ -2,6 +2,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
@@ -23,7 +24,7 @@ py2exe_options = {
|
|||||||
"compressed": 1,
|
"compressed": 1,
|
||||||
"optimize": 2,
|
"optimize": 2,
|
||||||
"dist_dir": '.',
|
"dist_dir": '.',
|
||||||
"dll_excludes": ['w9xpopen.exe']
|
"dll_excludes": ['w9xpopen.exe'],
|
||||||
}
|
}
|
||||||
py2exe_console = [{
|
py2exe_console = [{
|
||||||
"script": "./youtube_dl/__main__.py",
|
"script": "./youtube_dl/__main__.py",
|
||||||
@@ -57,7 +58,7 @@ setup(
|
|||||||
author = 'Ricardo Garcia',
|
author = 'Ricardo Garcia',
|
||||||
maintainer = 'Philipp Hagemeister',
|
maintainer = 'Philipp Hagemeister',
|
||||||
maintainer_email = 'phihag@phihag.de',
|
maintainer_email = 'phihag@phihag.de',
|
||||||
packages = ['youtube_dl'],
|
packages = ['youtube_dl', 'youtube_dl.extractor'],
|
||||||
|
|
||||||
# Provokes warning on most systems (why?!)
|
# Provokes warning on most systems (why?!)
|
||||||
#test_suite = 'nose.collector',
|
#test_suite = 'nose.collector',
|
||||||
|
@@ -58,7 +58,7 @@ class YoutubeIE(InfoExtractor):
|
|||||||
'18': 'mp4',
|
'18': 'mp4',
|
||||||
'22': 'mp4',
|
'22': 'mp4',
|
||||||
'37': 'mp4',
|
'37': 'mp4',
|
||||||
'38': 'video', # You actually don't know if this will be MOV, AVI or whatever
|
'38': 'mp4',
|
||||||
'43': 'webm',
|
'43': 'webm',
|
||||||
'44': 'webm',
|
'44': 'webm',
|
||||||
'45': 'webm',
|
'45': 'webm',
|
||||||
@@ -486,7 +486,7 @@ class YoutubeIE(InfoExtractor):
|
|||||||
mobj = re.search(r';ytplayer.config = ({.*?});', video_webpage)
|
mobj = re.search(r';ytplayer.config = ({.*?});', video_webpage)
|
||||||
info = json.loads(mobj.group(1))
|
info = json.loads(mobj.group(1))
|
||||||
args = info['args']
|
args = info['args']
|
||||||
if args.get('ptk','') == 'vevo' or 'dashmpd':
|
if args.get('ptk','') == 'vevo' or 'dashmpd' in args:
|
||||||
# Vevo videos with encrypted signatures
|
# Vevo videos with encrypted signatures
|
||||||
self.to_screen(u'%s: Vevo video detected.' % video_id)
|
self.to_screen(u'%s: Vevo video detected.' % video_id)
|
||||||
video_info['url_encoded_fmt_stream_map'] = [args['url_encoded_fmt_stream_map']]
|
video_info['url_encoded_fmt_stream_map'] = [args['url_encoded_fmt_stream_map']]
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
|
|
||||||
__version__ = '2013.06.23'
|
__version__ = '2013.06.27'
|
||||||
|
Reference in New Issue
Block a user