pukkandan
ad54c9130e
[cleanup] Misc
...
Closes #6288 , Closes #7197 , Closes #7265 , Closes #7353 , Closes #5773
Authored by: mikf, freezboltz, pukkandan
2023-06-21 09:21:20 +05:30
Simon Sawicki
8417f26b8a
[core] Implement --color
flag ( #6904 )
...
Authored by: Grub4K
2023-05-24 20:35:07 +02:00
pukkandan
4823ec9f46
Update to ytdl-commit-d1c6c5
...
[YouTube] [core] Improve platform debug log, based on yt-dlp
d1c6c5c4d6
Except:
* 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression
* There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641
* e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs
* We plan to implement this differently
2023-05-24 23:30:43 +05:30
pukkandan
46f1370e9a
[devscripts/cli_to_api] Add script
2023-05-24 23:29:30 +05:30
pukkandan
71df9b7fd5
[cleanup] Misc
2022-12-03 19:52:31 +05:30
pukkandan
64c464a144
[utils] Move FileDownloader.parse_bytes
into utils
2022-11-17 08:40:34 +05:30
pukkandan
d5d1df8afd
[cleanup Misc
...
Closes #5162
2022-10-18 23:52:44 +05:30
pukkandan
a057779d5e
[cleanup] Minor fixes
...
Closes #5129 , Closes #4982
2022-10-04 01:48:14 +05:30
pukkandan
deae7c1711
[cleanup] Misc
2022-09-10 03:46:54 +05:30
pukkandan
da4db748fa
[utils] Add deprecation_warning
...
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
2022-08-30 21:03:07 +05:30
pukkandan
be5c1ae862
Standardize retry mechanism ( #1649 )
...
* [utils] Create `RetryManager`
* Migrate all retries to use the manager
* [extractor] Add wrapper methods for convenience
* Standardize console messages for retries
* Add `--retry-sleep` for extractors
2022-08-02 01:43:18 +05:30
pukkandan
3df4f81dfe
[downloader] Add average speed to final progress line
...
Fixes: https://github.com/ytdl-org/youtube-dl/issues/31122
2022-07-31 04:20:02 +05:30
pukkandan
f5ea47488a
[cleanup] Minor fixes
2022-07-11 02:24:36 +05:30
pukkandan
998a3cae0c
[cleanup] Misc fixes
2022-06-22 03:47:41 +05:30
pukkandan
64fa820ccf
[cleanup] Misc fixes (see desc)
...
* [tvver] Fix bug in 6837633a4a
- Closes #4054
* [rumble] Fix tests - Closes #3976
* [make] Remove `cat` abuse - Closes #3989
* [make] Revert #3684 - Closes #3814
* [utils] Improve `get_elements_by_class` - Closes #3993
* [utils] Inherit `Namespace` from `types.SimpleNamespace`
* [utils] Use `re.fullmatch` for matching filters
* [jsinterp] Handle quotes in `_separate`
* [make_readme] Allow overshooting last line
Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
2022-06-12 00:08:16 +05:30
pukkandan
8a7f6d7a15
Do not print progress to stderr
with -q
...
It is arguable how this "should" behave, but since progress is always
written to stdout in older yt-dl/p, we should keep it as-is
Bug in cf4f42cb97
Closes #3844
2022-06-01 01:57:14 +05:30
pukkandan
11233f2afd
[downloader, cleanup] Refactor report_progress
...
Closes #3790
2022-05-22 21:54:06 +05:30
pukkandan
c487cf0010
[cleanup] Misc
2022-05-21 16:01:53 +05:30
pukkandan
1a8cc83735
Bugfix for 3a408f9d19
2022-05-20 21:25:07 +05:30
pukkandan
2762dbb17e
[compat] Add functools.cached_property
2022-05-20 21:06:37 +05:30
pukkandan
666c36d58d
Bugfix for 23326151c4
2022-05-20 21:03:19 +05:30
pukkandan
23326151c4
Add option --retry-sleep ( #3059 )
...
Closes #2852
2022-05-19 20:00:31 +05:30
pukkandan
7896214c42
Bugfix for 591bb9d355
...
Closes #3769
2022-05-17 22:33:15 +05:30
pukkandan
591bb9d355
Fix color in -q -F
...
and convert `ydl._out_files`/`ydl._allow_colors` to `Namespace`
Closes #3761
2022-05-17 18:41:46 +05:30
pukkandan
3a408f9d19
Show name of downloader in verbose log
...
Closes #3703
2022-05-11 07:20:54 +05:30
pukkandan
1d485a1a79
[cleanup] Misc fixes
...
Closes #3565 , https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
2022-04-29 07:39:33 +05:30
pukkandan
43cc91ad75
bugfix for 19a0394044
, 3d3bb1688b
2022-04-18 05:41:56 +05:30
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor ( #2173 )
2022-04-18 02:28:28 +05:30
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12 05:32:52 +05:30
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
Using https://github.com/asottile/pyupgrade
1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`
Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-04-12 05:32:51 +05:30
pukkandan
0edb3e336c
Do not prevent download if locking is unsupported
...
Closes #3022
Failure to lock download-archive is still fatal.
This is consistent with youtube-dl's behavior
2022-04-05 23:32:22 +05:30
pukkandan
cf4f42cb97
Protect stdout from unexpected progress and console-title
...
Closes #3023
2022-03-11 19:29:45 +05:30
Emanuel Hoogeveen
45806d44a7
[downloader] Obey --file-access-retries
when deleting/renaming ( #2224 )
...
Authored by: ehoogeveen-medweb
2022-03-03 06:33:32 -08:00
Emanuel Hoogeveen
205a0654c0
Add option --file-access-retries
( #2066 )
...
Closes #517
Authored by: ehoogeveen-medweb
2021-12-23 07:59:03 +05:30
pukkandan
b69fd25c25
[cleanup] Misc cleanup
...
Closes #1942 #1976 #2020 #2058 #1984
2021-12-23 07:12:46 +05:30
pukkandan
f304da8a29
[cleanup] Misc cleanup
...
Closes #1805 , closes #1800
2021-11-29 23:34:33 +05:30
pukkandan
7578d77d8c
[downloader] Add colors to download progress
2021-11-29 22:51:18 +05:30
pukkandan
a4211baff5
[cleanup] Minor cleanup
2021-11-04 03:53:15 +05:30
pukkandan
bd93fd5d45
[fragment] Fix progress display in fragmented downloads
...
Closes #1517
2021-11-03 16:45:58 +05:30
pukkandan
aa7785f860
[utils] Standardize timestamp formatting code
...
Closes #1285
2021-10-19 22:58:25 +05:30
pukkandan
580d3274e5
[youtube] Expose different formats with same itag
2021-10-16 20:28:17 +05:30
pukkandan
03b4de722a
[downloader] Fix slow progress hooks
...
Closes #1301
2021-10-16 20:02:40 +05:30
pukkandan
d1d5c08f29
[minicurses] Fix when printing to file
...
Closes #1215
2021-10-10 09:31:59 +05:30
pukkandan
819e05319b
Improved progress reporting (See desc) ( #1125 )
...
* Separate `--console-title` and `--no-progress`
* Add option `--progress` to show progress-bar even in quiet mode
* Fix and refactor `minicurses`
* Use `minicurses` for all progress reporting
* Standardize use of terminal sequences and enable color support for windows 10
* Add option `--progress-template` to customize progress-bar and console-title
* Add postprocessor hooks and progress reporting
Closes: #906 , #901 , #1085 , #1170
2021-10-09 00:41:59 +05:30
pukkandan
be867b03f5
bugfix for bd50a52b0d
2021-09-24 05:14:16 +05:30
The Hatsune Daishi
bd50a52b0d
Basic framework for simultaneous download of multiple formats ( #1036 )
...
Authored by: nao20010128nao
2021-09-22 19:42:04 +05:30
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
pukkandan
f775c83110
Fix --force-overwrites
when using -k
...
For formats that need merge, the `.fxxx` files are not removed before
downloading the corresponding `.part` files. This causes the rename to fail
2021-08-15 00:28:49 +05:30
pukkandan
3448870205
[docs] Fix some mistakes and improve doc
2021-08-07 21:41:48 +05:30
pukkandan
b868936cd6
[cleanup] Misc
2021-08-07 21:17:07 +05:30