diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-12-17 00:06:41 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-12-17 00:06:41 +0100 |
commit | 7af808a5ef4cc17ca30c8c4636660589e0e915ec (patch) | |
tree | 013daad2c72dec20b2bb19ab9121eec189ca37a1 /youtube_dl/downloader | |
parent | 876bef5937526c6132fc22fab461d41bbf79014b (diff) |
Improve code style
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/f4m.py | 2 | ||||
-rw-r--r-- | youtube_dl/downloader/rtmp.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py index ef3e0d5f4..f9f6f3e73 100644 --- a/youtube_dl/downloader/f4m.py +++ b/youtube_dl/downloader/f4m.py @@ -203,7 +203,7 @@ def write_flv_header(stream, metadata): stream.write(b'\x00\x00\x00\x00\x00\x00\x00') stream.write(metadata) # Magic numbers extracted from the output files produced by AdobeHDS.php - #(https://github.com/K-S-V/Scripts) + # (https://github.com/K-S-V/Scripts) stream.write(b'\x00\x00\x01\x73') diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py index 575912675..5346cb9a0 100644 --- a/youtube_dl/downloader/rtmp.py +++ b/youtube_dl/downloader/rtmp.py @@ -185,7 +185,7 @@ class RtmpFD(FileDownloader): cursize = os.path.getsize(encodeFilename(tmpfilename)) if prevsize == cursize and retval == RD_FAILED: break - # Some rtmp streams seem abort after ~ 99.8%. Don't complain for those + # Some rtmp streams seem abort after ~ 99.8%. Don't complain for those if prevsize == cursize and retval == RD_INCOMPLETE and cursize > 1024: self.to_screen('[rtmpdump] Could not download the whole video. This can happen for some advertisements.') retval = RD_SUCCESS |