aboutsummaryrefslogtreecommitdiff
path: root/network/youtube-dl
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-06-14 04:30:33 +0300
committerRobby Workman <rworkman@slackbuilds.org>2016-06-18 19:16:53 -0500
commit72d43c4092047501ccbe70fde92bd32a7212422f (patch)
tree003d5d0fc7a7d5d2e6fcbaaa7ca25f4204070aa8 /network/youtube-dl
parent794315d181bd6e01212243ee11016249b34094b3 (diff)
network/youtube-dl: Updated for version 2016.06.14.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl')
-rw-r--r--network/youtube-dl/youtube-dl.110
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild2
-rw-r--r--network/youtube-dl/youtube-dl.info6
3 files changed, 10 insertions, 8 deletions
diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1
index 22df3a3ec30c..c215aa51b07c 100644
--- a/network/youtube-dl/youtube-dl.1
+++ b/network/youtube-dl/youtube-dl.1
@@ -1828,7 +1828,7 @@ Have a look at
\f[C]youtube_dl/extractor/common.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/common.py)
for possible helper methods and a detailed description of what your
extractor should and may
-return (https://github.com/rg3/youtube-dl/blob/58525c94d547be1c8167d16c298bdd75506db328/youtube_dl/extractor/common.py#L68-L226).
+return (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/common.py#L74-L252).
Add tests and code for as many as you want.
.IP " 8." 4
Keep in mind that the only mandatory fields in info dict for successful
@@ -1837,7 +1837,7 @@ extraction process are \f[C]id\f[], \f[C]title\f[] and either
these are the critical data the extraction does not make any sense
without.
This means that any
-field (https://github.com/rg3/youtube-dl/blob/58525c94d547be1c8167d16c298bdd75506db328/youtube_dl/extractor/common.py#L138-L226)
+field (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/common.py#L148-L252)
apart from aforementioned mandatory ones should be treated \f[B]as
optional\f[] and extraction should be \f[B]tolerate\f[] to situations
when sources for these fields can potentially be unavailable (even if
@@ -1854,6 +1854,8 @@ Similarly, you should pass \f[C]fatal=False\f[] when extracting data
from a webpage with \f[C]_search_regex/_html_search_regex\f[].
.IP " 9." 4
Check the code with flake8 (https://pypi.python.org/pypi/flake8).
+Also make sure your code works under all Python (http://www.python.org/)
+versions claimed supported by youtube\-dl, namely 2.6, 2.7, and 3.2+.
.IP "10." 4
When the tests pass, add (http://git-scm.com/docs/git-add) the new files
and commit (http://git-scm.com/docs/git-commit) them and
@@ -1897,8 +1899,8 @@ with\ youtube_dl.YoutubeDL(ydl_opts)\ as\ ydl:
.fi
.PP
Most likely, you\[aq]ll want to use various options.
-For a list of what can be done, have a look at
-\f[C]youtube_dl/YoutubeDL.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L121-L269).
+For a list of options available, have a look at
+\f[C]youtube_dl/YoutubeDL.py\f[] (https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L128-L278).
For a start, if you want to intercept youtube\-dl\[aq]s output, set a
\f[C]logger\f[] object.
.PP
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index dbc49f895b37..9a48a9fd53b1 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl
-VERSION=${VERSION:-2016.06.12}
+VERSION=${VERSION:-2016.06.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info
index 69f78351a7a6..8a087546f0d3 100644
--- a/network/youtube-dl/youtube-dl.info
+++ b/network/youtube-dl/youtube-dl.info
@@ -1,8 +1,8 @@
PRGNAM="youtube-dl"
-VERSION="2016.06.12"
+VERSION="2016.06.14"
HOMEPAGE="https://rg3.github.io/youtube-dl"
-DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.06.12.tar.gz"
-MD5SUM="7a524173cc80c01ca44ff878439c2b6a"
+DOWNLOAD="https://github.com/rg3/youtube-dl/archive/2016.06.14.tar.gz"
+MD5SUM="935461b26bae49af85def0badbe25710"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""