yt-dlp/yt_dlp/downloader
Paul Wrubel d75201a873
Use os.replace where applicable (#793)
When using 
```py
os.remove(encodeFilename(filename))
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
```
the `os.remove` need not be atomic and so can be executed arbitrarily compared to the immediately following rename call. It is better to use `os.replace` instead

Authored by: paulwrubel
2021-08-27 07:57:20 +05:30
..
__init__.py fix bug in 6251555f1c 2021-08-24 06:23:21 +05:30
common.py Use os.replace where applicable (#793) 2021-08-27 07:57:20 +05:30
dash.py [cleanup] Fix linter in 96fccc101f 2021-08-01 12:52:09 +05:30
external.py [aria2c] Obey --rate-limit 2021-08-27 00:59:36 +05:30
f4m.py [downloader] Pass info_dict to progress_hooks 2021-07-22 04:30:11 +05:30
fragment.py [webvtt] Merge daisy-chained duplicate cues (#638) 2021-08-10 01:52:30 +05:30
hls.py [webvtt] Fix timestamp overflow adjustment (#698) 2021-08-15 21:03:06 +05:30
http.py Revert erroneous use of the Content-Length header (#637) 2021-08-11 21:09:17 +05:30
ism.py [downloader] Pass info_dict to progress_hooks 2021-07-22 04:30:11 +05:30
mhtml.py [downloader] Pass info_dict to progress_hooks 2021-07-22 04:30:11 +05:30
niconico.py [cleanup] Refactor some code 2021-08-01 12:38:05 +05:30
rtmp.py [downloader] Pass info_dict to progress_hooks 2021-07-22 04:30:11 +05:30
rtsp.py [downloader] Pass info_dict to progress_hooks 2021-07-22 04:30:11 +05:30
websocket.py
youtube_live_chat.py [downloader] Pass info_dict to progress_hooks 2021-07-22 04:30:11 +05:30