alexmercerind
946ad8d07b
Fixed wrong return annotation in get_lyrics
2020-12-04 18:41:57 +05:30
alexmercerind
0d81ec9dcd
Added tests for get_lyrics
2020-12-04 18:33:23 +05:30
alexmercerind
aac93a3010
Updated docstring
2020-12-04 16:33:18 +05:30
alexmercerind
a1fee33e37
Added lyrics source & fixed method for songs which do not have lyrics
2020-12-04 16:23:20 +05:30
alexmercerind
d62e3f8079
Added get_lyrics method to get lyrics of a video or song
2020-12-04 12:05:32 +05:30
Daniel Marai
1fb0968760
Added category to get_song() results.
2020-11-30 17:35:00 +01:00
sigma67
a1b6b06835
Update version to 0.11.0
2020-11-30 16:02:09 +01:00
sigma67
35b88a4c62
Fix default search (related to 0d419fb)
2020-11-30 15:58:15 +01:00
sigma67
ffe2deffed
search(): Add option to ignore spelling correction ( closes #91 )
2020-11-30 15:37:17 +01:00
Patompong Manprasatkul
6a8fe5fd58
Update url to get brand's user_id
2020-11-30 15:17:07 +01:00
sigma67
57f0cc7a16
Docs: Fix get_library_albums inlining
2020-11-30 15:12:54 +01:00
Cory Marshall
06cc2d05de
Fix documentation for get_streaming_data()
...
The example in the documentation for `get_streaming_data()` was not properly indented.
2020-11-26 11:09:52 -04:00
sigma67
063af84a5f
get_streaming_data: handle unplayable videos
2020-11-26 15:04:58 +01:00
Cory Marshall
028b678112
Edit to get_streaming_data() test
...
Rename variable `song` to `streaming_data`.
2020-11-26 15:04:58 +01:00
Cory Marshall
46c7c3d9d4
Adjust variable name for proper naming convention
2020-11-26 15:04:58 +01:00
Cory Marshall
e95e2d4ee4
Documentation and tests update
...
Reflect splitting of `get_streaming_data()` off of `get_song()` in
the documentation and tests.
2020-11-26 15:04:57 +01:00
Cory Marshall
4359de0b9f
Rename get_streamingData() to get_streaming_data()
2020-11-26 15:04:57 +01:00
Cory Marshall
c3ef580e26
Split get_streamingData() off of get_song()
...
Separate the requests for song/video streaming data and song metadata
in to two separate functions: `get_streamingData()` and `get_song()`.
2020-11-26 15:04:57 +01:00
Cory Marshall
839703c034
Retreive streaming data for 256 kbps AAC
...
Adding the parameters c=WEB_REMIX and cver=0.1 to the get_video_info
request in get_song() returns a streamingData adaptiveFormat of itag
141, audioQuality of AUDIO_QUALITY_HIGH, a 256 kbps AAC m4a for
authenticated requests from YouTube Music Premium subscribers.
Unfortunately, these parameters result in
player_response['videoDetails']['shortDescription'] not being returned,
the information in which contains useful song metadata.
player_response['microformat']['microformatDataRenderer']['description']
is returned, but it seems to be a truncated version of shortDescription,
so the metadata parsing in get_song() does not work on that response.
Therefore, a second get_video_info request is made with the updated
parameters and the metadata in song_meta is copied in to the new
player_response['videoDetails'], which is returned from get_song()
instead of song_meta.
2020-11-26 15:04:57 +01:00
Cory Marshall
9af106b464
Logic fix in BrowsingMixin().search()
...
Simple addition of indentation so the if statement is evaluated only
if the previous one is true. Found with video_id `gzo0xPx26hs`.
2020-11-25 23:35:20 -04:00
sigma67
0d419fb68f
Add limit parameter to search and search_uploads ( closes #95 )
2020-11-12 10:51:45 +01:00
Nik Tumbri
5654928ed2
respond to review of PR
2020-11-12 10:02:20 +01:00
ide-an
a0506ebf75
Remove ordering check in testcases
...
String comparation logic of YTM is different from python one.
Maybe, some kind of normalization is done before comparation.
So I gave up checking if order is correct in testcase.
2020-11-11 17:12:25 +01:00
ide-an
ca2dc4fb28
Add order to library function
...
Add order parameter to functions bellow
* get_library_songs
* get_library_albums
* get_library_artists
* get_library_subscriptions
* get_library_upload_albums
* get_library_upload_artists
2020-11-11 17:12:25 +01:00
ide-an
fa5e6fe761
Add ordering test
2020-11-11 17:12:25 +01:00
ide-an
725e774ef6
Extract ordering logic to helper functions
2020-11-11 17:12:24 +01:00
ide-an
19e9053706
Support song order for get_library_upload_songs
2020-11-11 17:12:22 +01:00
sigma67
c378b58296
Update version to 0.10.2
2020-11-09 11:50:46 +01:00
sigma67
8fe915fcbb
Use 3PAPISID for sapisidhash ( closes #100 )
2020-11-09 11:01:04 +01:00
sigma67
79148aab5a
Add duration for uploaded items ( closes #96 )
2020-11-09 10:58:34 +01:00
Gaganpreet Arora
7974715afd
Add X-Goog-AuthUser to required headers
2020-11-08 16:30:20 +01:00
Ľubomír Kučera
74ccb7bed3
Fix KeyError in get_continuations()
2020-11-08 01:53:00 +01:00
sigma67
6405bec93f
Make (x-)origin header backwards-compatible to avoid breaking existing headers files ( #87 )
2020-10-31 14:20:06 +01:00
sigma67
c93f66471c
remove_playlist_items: remove invalid items from list ( closes #88 )
2020-10-28 20:24:08 +01:00
sigma67
bf32ba7221
Fix uploads search (server-side changes)
2020-10-28 14:12:29 +01:00
czifumasa
12c465e18e
Added isAvailable flag for songs in playlists
2020-10-28 13:48:45 +01:00
sigma67
c951c409f3
Update default headers to fix failing get_artist_albums and get_user_playlists tests
2020-10-28 13:48:17 +01:00
Forrest Jones
5c13accd96
Add support for ignoring YTM's spelling suggestions ( #91 )
2020-10-20 17:50:48 -06:00
sigma67
bdbaada36a
Update version to 0.10.1
2020-10-04 20:30:57 +02:00
sigma67
5a1032983d
Update get_library_albums parsing to new YT Web display format ( closes #84 )
...
Change 'artists' key to dict with name/id
2020-09-28 14:45:25 +02:00
sigma67
14daa31ab1
Parse setVideoId for unplayable items ( closes #83 )
2020-09-28 10:36:03 +02:00
sigma67
b40ca2d6bf
Update version to 0.10.0
2020-09-17 11:57:28 +02:00
sigma67
3255303e0a
Fix get_watch_playlist (broken by Lyrics on Web update)
2020-09-17 11:52:47 +02:00
sigma67
654551b0ee
Feature: add uploads filter to search()
2020-09-17 11:29:23 +02:00
sigma67
2d3219befd
Fix permanent header modification after uploads ( closes #79 )
2020-09-17 11:29:23 +02:00
sigma67
ae8213eda9
Fix get_library_songs if there are no songs in library ( #69 )
2020-09-16 22:00:49 +02:00
Hitesh Kumar Saini
9bded79ea2
Fixes the issue #75
...
Some albums like [NCS: Infinity](https://music.youtube.com/browse/MPREb_cIll1xTklJL ) & [NCS: Alpha](https://music.youtube.com/browse/MPREb_PAcC7ycC6GP ) give no first track at the moment. Simply changing the index fixes the issue.
2020-09-08 16:46:14 +05:30
apastel
d9c88009d8
Return empty list if 'musicShelfRenderer' not in list of uploaded artists ( #71 )
2020-09-06 09:41:31 -07:00
apastel
0ec5bc0a0e
Update .gitignore to ignore venv and egg-info
2020-09-05 14:13:32 -07:00
apastel
07215a6520
Add skipped unit tests that would verify no errors are returned when there's 0 uploads
2020-09-05 14:13:02 -07:00