mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
show real URL of RTMP stream, fix #329
This commit is contained in:
parent
6eced06b11
commit
94b99128a5
@ -674,7 +674,8 @@ def download_urls_chunked(urls, title, ext, total_size, output_dir='.', refer=No
|
|||||||
def download_rtmp_url(url, playpath, title, ext, total_size=0, output_dir='.', refer=None, merge=True, faker=False):
|
def download_rtmp_url(url, playpath, title, ext, total_size=0, output_dir='.', refer=None, merge=True, faker=False):
|
||||||
assert url
|
assert url
|
||||||
if dry_run:
|
if dry_run:
|
||||||
print('Real URLs:\n%s\n' % [url])
|
print('Real URL:\n%s\n' % [url])
|
||||||
|
print('Real Playpath:\n%s\n' % [playpath])
|
||||||
return
|
return
|
||||||
|
|
||||||
if player:
|
if player:
|
||||||
|
@ -17,8 +17,6 @@ def theplatform_download_by_pid(pid, title, output_dir='.', merge=True, info_onl
|
|||||||
|
|
||||||
print_info(site_info, title, type, size)
|
print_info(site_info, title, type, size)
|
||||||
if not info_only:
|
if not info_only:
|
||||||
#from ..processor.rtmpdump import has_rtmpdump_installed, download_rtmpdump_stream
|
|
||||||
#assert has_rtmpdump_installed(), "RTMPDump not installed."
|
|
||||||
download_rtmp_url(url=smil_base, playpath=ext+':'+smil_video, title=title, ext=ext, output_dir=output_dir)
|
download_rtmp_url(url=smil_base, playpath=ext+':'+smil_video, title=title, ext=ext, output_dir=output_dir)
|
||||||
|
|
||||||
site_info = "thePlatform.com"
|
site_info = "thePlatform.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user