get_podcast, get_episode

This commit is contained in:
sigma67 2024-01-21 17:48:55 +01:00 • committed by sigma67
commit a3e4c26c8a
14 changed files with 311 additions and 30 deletions

View file

@ -79,6 +79,26 @@ What is a browseId?
***********************************************************************
A ``browseId`` is an internal, globally unique identifier used by YouTube Music for browsable content.
In most cases you can compose it yourself:
+--------+------------+----------------------+
| Prefix | Main | Content |
+========+============+======================+
| VM | playlistId | Playlist |
+--------+------------+----------------------+
| RDAMVM | playlistId | Video-based Radio |
+--------+------------+----------------------+
| RDAMPL | videoId | Playlist-based Radio |
+--------+------------+----------------------+
| MPLA | channelId | Artist |
+--------+------------+----------------------+
| MPRE | custom | Album |
+--------+------------+----------------------+
| MPSP | playlistId | Podcast |
+--------+------------+----------------------+
| MPED | videoId | Episode |
+--------+------------+----------------------+
Which videoTypes exist and what do they mean?
***********************************************************************
@ -112,14 +132,15 @@ For the list of values you can use for the ``language`` parameter, see below:
.. raw:: html
<details>
<br>
<summary><a>Supported locations</a></summary>
.. container::
.. list-table::
* - Language
- Value
* - **Language**
- **Value**
* - Arabic
- ar
* - German
@ -157,6 +178,7 @@ For the list of values you can use for the ``language`` parameter, see below:
.. raw:: html
</details>
</br>
@ -168,14 +190,15 @@ Pick a value from the list below for your desired location and pass it using the
.. raw:: html
<details>
<br>
<summary><a>Supported locations</a></summary>
.. container::
.. list-table::
* - Location
- Value
* - **Location**
- **Value**
* - Algeria
- DZ
* - Argentina
@ -398,4 +421,4 @@ Pick a value from the list below for your desired location and pass it using the
.. raw:: html
</details>
</br>

View file

@ -71,6 +71,11 @@ Playlists
.. automethod:: YTMusic.add_playlist_items
.. automethod:: YTMusic.remove_playlist_items
Podcasts
--------
.. automethod:: YTMusic.get_podcast
.. automethod:: YTMusic.get_episode
Uploads
-------
.. automethod:: YTMusic.get_library_upload_songs