mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
[cleanup] Misc
Authored by: bashonly
This commit is contained in:
parent
db22142f6f
commit
7f9c6a63b1
|
@ -1780,7 +1780,7 @@ # Do not set any "synopsis" in the video metadata
|
||||||
$ yt-dlp --parse-metadata ":(?P<meta_synopsis>)"
|
$ yt-dlp --parse-metadata ":(?P<meta_synopsis>)"
|
||||||
|
|
||||||
# Remove "formats" field from the infojson by setting it to an empty string
|
# Remove "formats" field from the infojson by setting it to an empty string
|
||||||
$ yt-dlp --parse-metadata ":(?P<formats>)" -j
|
$ yt-dlp --parse-metadata "video::(?P<formats>)" --write-info-json
|
||||||
|
|
||||||
# Replace all spaces and "_" in title and uploader with a `-`
|
# Replace all spaces and "_" in title and uploader with a `-`
|
||||||
$ yt-dlp --replace-in-metadata "title,uploader" "[ _]" "-"
|
$ yt-dlp --replace-in-metadata "title,uploader" "[ _]" "-"
|
||||||
|
@ -1854,11 +1854,11 @@ #### rokfinchannel
|
||||||
#### twitter
|
#### twitter
|
||||||
* `legacy_api`: Force usage of the legacy Twitter API instead of the GraphQL API for tweet extraction. Has no effect if login cookies are passed
|
* `legacy_api`: Force usage of the legacy Twitter API instead of the GraphQL API for tweet extraction. Has no effect if login cookies are passed
|
||||||
|
|
||||||
### wrestleuniverse
|
#### wrestleuniverse
|
||||||
* `device_id`: UUID value assigned by the website and used to enforce device limits for paid livestream content. Can be found in browser local storage
|
* `device_id`: UUID value assigned by the website and used to enforce device limits for paid livestream content. Can be found in browser local storage
|
||||||
|
|
||||||
#### twitchstream (Twitch)
|
#### twitch
|
||||||
* `client_id`: Client ID value to be sent with GraphQL requests, e.g. `twitchstream:client_id=kimne78kx3ncx6brgo4mv6wki5h1ko`
|
* `client_id`: Client ID value to be sent with GraphQL requests, e.g. `twitch:client_id=kimne78kx3ncx6brgo4mv6wki5h1ko`
|
||||||
|
|
||||||
#### nhkradirulive (NHK らじる★らじる LIVE)
|
#### nhkradirulive (NHK らじる★らじる LIVE)
|
||||||
* `area`: Which regional variation to extract. Valid areas are: `sapporo`, `sendai`, `tokyo`, `nagoya`, `osaka`, `hiroshima`, `matsuyama`, `fukuoka`. Defaults to `tokyo`
|
* `area`: Which regional variation to extract. Valid areas are: `sapporo`, `sendai`, `tokyo`, `nagoya`, `osaka`, `hiroshima`, `matsuyama`, `fukuoka`. Defaults to `tokyo`
|
||||||
|
|
|
@ -60,7 +60,7 @@ class TwitchBaseIE(InfoExtractor):
|
||||||
@property
|
@property
|
||||||
def _CLIENT_ID(self):
|
def _CLIENT_ID(self):
|
||||||
return self._configuration_arg(
|
return self._configuration_arg(
|
||||||
'client_id', ['ue6666qo983tsx6so1t0vnawi233wa'], ie_key=TwitchStreamIE, casesense=True)[0]
|
'client_id', ['ue6666qo983tsx6so1t0vnawi233wa'], ie_key='Twitch', casesense=True)[0]
|
||||||
|
|
||||||
def _perform_login(self, username, password):
|
def _perform_login(self, username, password):
|
||||||
def fail(message):
|
def fail(message):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user