projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3531a
)
Print playpath with --get-url (Fixes #1334)
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 28 Aug 2013 10:14:45 +0000
(12:14 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 28 Aug 2013 10:14:45 +0000
(12:14 +0200)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 3fc4ec378d2334f35a74949e21cfde592a2e64c7..d5f7c81eb4189ae6eb975abaaef860f68910b4ff 100644
(file)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-448,7
+448,8
@@
class YoutubeDL(object):
if self.params.get('forceid', False):
compat_print(info_dict['id'])
if self.params.get('forceurl', False):
- compat_print(info_dict['url'])
+ # For RTMP URLs, also include the playpath
+ compat_print(info_dict['url'] + info_dict.get('play_path', u''))
if self.params.get('forcethumbnail', False) and 'thumbnail' in info_dict:
compat_print(info_dict['thumbnail'])
if self.params.get('forcedescription', False) and 'description' in info_dict: