Mozi
60f51dec60
merge 'master'
2024-05-26 15:56:08 +00:00
pukkandan
c305a25c1b
[cleanup] Standardize import datetime as dt
( #8978 )
2024-04-01 05:32:15 +05:30
pukkandan
e3a3ed8a98
[ie, cleanup] No from
stdlib imports in extractors ( #8978 )
2024-04-01 05:31:09 +05:30
Mozi
d9a6507fe6
[ie/niconico] Support "--load-info-json" by saving WebSocket url
...
aka "--load-info".
Don't save a Response object to info JSON. Just create a new WebSocket
connection during the download. Due to Niconico's logic, the manifest
m3u8 url will be unusable soon if there is no active WebSocket
connection, so the reconnection will give us a valid manifest m3u8,
unless the WebSocket url has already expired.
2024-03-12 15:58:15 +00:00
Mozi
972a2d51ad
[ie/niconico] Apply suggestions: info_dict, protocols and downloaders
...
- Use "downloader_options" to pass options used by the downloader.
- Combine the two downloaders into one.
- Don't inherit from "HlsFD".
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
2024-03-12 15:06:38 +00:00
Mozi
41c6125907
[ie/niconico] Move WebSocket headers to info_dict
...
Thanks for coletdjnz's suggestion!
2024-03-11 15:29:20 +00:00
Mozi
16974726a4
[ie/niconico] Directly download live timeshift videos; WebSocket fixes
...
Major changes:
- Make a downloader for live timeshift videos. Time-based download rate
limit applies. RetryManager-based error recovery applies.
- Fix the incorrect url for WebSocket reconnection.
- Correctly close the WebSocket connection.
- [!] Apply "FFmpegFixupM3u8PP" for both non-timeshift and timeshift
MPEG-TS files by adding "m3u8_*" prefixes and inheriting from "HlsFD".
- [!] Change the protocol from "hls+fmp4" to "hls" in "startWatching"
WebSocket requests because I didn't see it in my test.
Minor changes:
- Support metadata extraction when no formats.
- Set "live_status" instead of "is_live".
- Clean up "info_dict": Change WebSocket configs to private to hide them
from users; extract common fields and remove unused ones.
- Update a download test.
2024-03-10 07:53:59 +00:00
sepro
f4f9f6d00e
[cleanup] Fix infodict returned fields ( #8906 )
...
Authored by: seproDev
2024-03-08 23:36:41 +01:00
Mozi
40966e8da2
Bugfix for aa13a8e3dd3b698cc40ec438988b1ad834e11a41 ( #9338 )
...
Closes #9351
Authored by: pzhlkj6612
2024-03-03 23:14:54 +00:00
Mozi
aa13a8e3dd
[ie/niconico] Support DMS formats ( #9282 )
...
Closes #8389 , Closes #8758 , Closes #9254
Authored by: pzhlkj6612, xpadev-net
2024-02-29 22:55:44 +00:00
Mozi
974d444039
[ie/niconico] Remove legacy danmaku extraction ( #9209 )
...
Closes #8684
Authored by: pzhlkj6612
2024-02-17 22:51:43 +00:00
coletdjnz
ccfd70f4c2
[rh:websockets] Migrate websockets to networking framework ( #7720 )
...
* Adds a basic WebSocket framework
* Introduces new minimum `websockets` version of 12.0
* Deprecates `WebSocketsWrapper`
Fixes https://github.com/yt-dlp/yt-dlp/issues/8439
Authored by: coletdjnz
2023-11-20 08:04:04 +00:00
coletdjnz
3d2623a898
[compat, networking] Deprecate old functions ( #2861 )
...
Authored by: coletdjnz, pukkandan
2023-07-15 16:18:35 +05:30
Lesmiscore
f8f9250fe2
[extractor/niconico:live] Add extractor ( #5764 )
...
Authored by: Lesmiscore
2023-05-29 18:35:10 +09:00
sqrtNOT
c86e433c35
[extractor/NiconicoSeries] Fix extraction ( #6898 )
...
Authored by: sqrtNOT
2023-04-25 19:21:06 +09:00
Lesmiscore
52ecc33e22
[extractor/niconico] Download comments from the new endpoint ( #6773 )
...
Authored by: Lesmiscore
2023-04-12 01:19:34 +09:00
Matumo
3b161265ad
[extractor/niconico] Add support for like history ( #5705 )
...
Authored by: Matumo, pukkandan
2023-02-04 00:20:06 +05:30
pukkandan
9f14daf22b
[extractor] Deprecate _sort_formats
2022-11-17 11:40:17 +05:30
Lesmiscore
c7e4ab278a
[extractor/niconico] Always use HTTPS for requests
...
This prevents MITM attacks from malicious parties like insane ISPs
Closes #5469
2022-11-07 14:56:28 +09:00
pukkandan
2fa669f759
[docs] Misc improvements
...
Closes #4987 , Closes #4906 , Closes #4919 , Closes #4977 , Closes #4979
2022-09-22 02:15:55 +05:30
sqrtNOT
ac05fb9338
[extractor/niconico:series] Fix extractor ( #3935 )
...
Authored by: sqrtNOT
2022-06-02 09:02:42 -07:00
ekangmonyet
83bfb5e290
[Niconico] Support 2FA ( #3559 )
...
Authored by: ekangmonyet
2022-04-27 09:44:29 -07:00
pukkandan
2e25ce3a05
[niconico] Set expected_protocol
to a public field
...
Closes #3440
2022-04-17 23:00:22 +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
a44ca5a470
[cleanup] Misc fixes
...
Closes https://github.com/yt-dlp/yt-dlp/pull/3213 , Closes https://github.com/yt-dlp/yt-dlp/pull/3117
Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114 , https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671 , a825ffbffa (commitcomment-68538986)
, https://github.com/yt-dlp/yt-dlp/issues/2360 , 5fa3c9a88f (r70393519)
, 5fa3c9a88f (r70393254)
2022-04-05 18:12:18 +05:30
Lesmiscore (Naoya Ozaki)
5d45484cc7
[niconico] Fix extraction of thumbnails and uploader ( #3266 )
2022-04-01 19:31:58 +09:00
pukkandan
52efa4b312
[extractor] Add _perform_login
function ( #2943 )
...
* Adds new functions `_initialize_pre_login` and `_perform_login` as part of the extractor API
* Adds `ie.supports_login` to the public API
2022-03-18 13:53:33 -07:00
Lesmiscore (Naoya Ozaki)
7bdcb4a40e
[niconico] Rewrite NiconicoIE ( #3018 )
...
Closes https://github.com/yt-dlp/yt-dlp/issues/2636 , partially fixes https://github.com/yt-dlp/yt-dlp/issues/367
Authored by: Lesmiscore
2022-03-17 05:22:14 -07:00
Lesmiscore (Naoya Ozaki)
f494ddada8
[niconico] Add playlist extractors and refactor ( #2915 )
...
Authored by: Lesmiscore
2022-03-03 02:08:13 +09:00
Lesmiscore (Naoya Ozaki)
9a5b012575
[niconico:tag] Add support for searching tags ( #2789 )
2022-02-16 02:12:39 +09:00
pukkandan
146cc4114a
bugfix for 63ccf4ff1a953e1b2a9422406cf8ad3f8aae4cbc
2021-12-06 23:24:42 +05:30
pukkandan
63ccf4ff1a
[lazy_extractors] Fix bug in 2c4aaaddc99dfb57cb3a5395e4d2fff2f4b819a4
...
SearchIEs must not inherit from extractors that have a _VALID_URL defined
2021-12-03 03:22:26 +05:30
pukkandan
f304da8a29
[cleanup] Misc cleanup
...
Closes #1805 , closes #1800
2021-11-29 23:34:33 +05:30
pukkandan
96565c7e55
[cleanup] Add keyword automatically to SearchIE descriptions
...
and some minor cleanup of docs
2021-10-23 21:20:19 +05:30
pukkandan
cc16383ff3
[extractor] Simplify search extractors
2021-10-12 15:21:30 +05:30
animelover1984
abafce59a1
[Niconico] Add Search extractors ( #672 )
...
Authored by: animelover1984, pukkandan
2021-08-28 07:07:13 +05:30
pukkandan
b868936cd6
[cleanup] Misc
2021-08-07 21:17:07 +05:30
CXwudi
40078a55e2
[niconico] Fix bug in thumbnail extraction #289
...
Bug from: 6b1d8c1e3038e7f0977ad36027f9f3ff61d27f46
Authored by: CXwudi
2021-05-01 19:35:47 +05:30
pukkandan
2291dbce2a
[niconico] Fix HLS formats
...
Closes #171
* The structure of the API JSON was changed
* Smile Video seems to be no longer available. So remove the warning
* Move ping to downloader
* Change heartbeat interval to 40sec
* Remove unnecessary API headers
Authored-by: CXwudi, tsukumijima, nao20010128nao, pukkandan
Tested by: tsukumijima
2021-04-28 19:18:29 +05:30
CXwudi
6b1d8c1e30
[niconico] Fix title and thumbnail extraction ( #273 )
...
Authored by: CXwudi
2021-04-26 08:23:57 +05:30
pukkandan
6a39ee13f7
Fix inconsistent use of report_warning
2021-04-17 04:16:41 +05:30
pukkandan
e1feb88fdf
[niconico] Fix for when logged in
...
Related: https://github.com/yt-dlp/yt-dlp/issues/171#issuecomment-803692716
Co-authored by: CXwudi, xtkoba
2021-03-23 14:03:07 +05:30
pukkandan
c1d3a4a8f0
[niconico] Add user extractor
...
Co-authored by: animelover1984
2021-03-20 14:59:39 +05:30
pukkandan
7978e172f3
[niconico] Partial fix
...
TODO:
Smile formats don't work
Extraction code that no longer works needs to be removed
Adapted from:
b5eff52dd9
by animelover1984
Related:
https://github.com/yt-dlp/yt-dlp/issues/171
https://github.com/animelover1984/youtube-dl/issues/29
https://github.com/ytdl-org/youtube-dl/issues/28470
2021-03-17 15:38:24 +05:30
Pccode66
7a5c1cfe93
Completely change project name to yt-dlp ( #85 )
...
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account
Co-authored-by: Pccode66
Co-authored-by: pukkandan
2021-02-25 00:15:56 +05:30