Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
Youtube Dl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Grant Kim
Youtube Dl
Commits
00b350d2
Commit
00b350d2
authored
11 years ago
by
Filippo Valsorda
Browse files
Options
Downloads
Patches
Plain Diff
[test] tell Travis to install rtmpdump and add initial support to rtmp testing
parent
d8ec4959
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+3
-0
3 additions, 0 deletions
.travis.yml
youtube_dl/extractor/cinemassacre.py
+4
-10
4 additions, 10 deletions
youtube_dl/extractor/cinemassacre.py
youtube_dl/extractor/videopremium.py
+2
-4
2 additions, 4 deletions
youtube_dl/extractor/videopremium.py
with
9 additions
and
14 deletions
.travis.yml
+
3
−
0
View file @
00b350d2
...
...
@@ -3,6 +3,9 @@ python:
-
"
2.6"
-
"
2.7"
-
"
3.3"
before_install
:
-
sudo apt-get update -qq
-
sudo apt-get install -qq rtmpdump
script
:
nosetests test --verbose
notifications
:
email
:
...
...
This diff is collapsed.
Click to expand it.
youtube_dl/extractor/cinemassacre.py
+
4
−
10
View file @
00b350d2
...
...
@@ -12,27 +12,21 @@ class CinemassacreIE(InfoExtractor):
_TESTS
=
[{
u
'
url
'
:
u
'
http://cinemassacre.com/2012/11/10/avgn-the-movie-trailer/
'
,
u
'
file
'
:
u
'
19911.flv
'
,
u
'
md5
'
:
u
'
f9bb7ede54d1229c9846e197b4737e06
'
,
u
'
info_dict
'
:
{
u
'
upload_date
'
:
u
'
20121110
'
,
u
'
title
'
:
u
'
“Angry Video Game Nerd: The Movie” – Trailer
'
,
u
'
description
'
:
u
'
md5:fb87405fcb42a331742a0dce2708560b
'
,
},
u
'
params
'
:
{
# rtmp download
u
'
skip_download
'
:
True
,
},
}
},
{
u
'
url
'
:
u
'
http://cinemassacre.com/2013/10/02/the-mummys-hand-1940
'
,
u
'
file
'
:
u
'
521be8ef82b16.flv
'
,
u
'
md5
'
:
u
'
9509ee44dcaa7c1068604817c19a9e50
'
,
u
'
info_dict
'
:
{
u
'
upload_date
'
:
u
'
20131002
'
,
u
'
title
'
:
u
'
The Mummy’s Hand (1940)
'
,
},
u
'
params
'
:
{
# rtmp download
u
'
skip_download
'
:
True
,
},
}
}]
def
_real_extract
(
self
,
url
):
...
...
This diff is collapsed.
Click to expand it.
youtube_dl/extractor/videopremium.py
+
2
−
4
View file @
00b350d2
...
...
@@ -9,12 +9,10 @@ class VideoPremiumIE(InfoExtractor):
_TEST
=
{
u
'
url
'
:
u
'
http://videopremium.tv/4w7oadjsf156
'
,
u
'
file
'
:
u
'
4w7oadjsf156.f4v
'
,
u
'
md5
'
:
u
'
e51e4a266aab7531c6ac06f4ffee3b0d
'
,
u
'
info_dict
'
:
{
u
"
title
"
:
u
"
youtube-dl_test_video____a_________-BaW_jenozKc.mp4.mp4
"
},
u
'
params
'
:
{
u
'
skip_download
'
:
True
,
},
}
}
def
_real_extract
(
self
,
url
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment