Commit graph ytmusicapi/tests
Author SHA1 Message Date
Adrian
f7ef0d2c15 Covered more cases in unittest and documentation 2022-08-23 20:33:48 -07:00
Adrian
d66f20aa13
Addded favorite artists to taste 2022-08-20 23:43:39 -07:00
sigma67
fbb26dde94
search: raise Exception when filter is set for uploads search (closes #285) 2022-08-05 15:16:45 +02:00
sigma67
1d5cfc3b3c
update tests sample video to version with lyrics 2022-08-02 17:07:43 +02:00
sigma67
edb963766c
feature: add get_song_related (closes #252) 2022-05-10 14:12:16 +02:00
sigma67
1d30910e23
remove test invalidated by get_artist changes (#181, #267) 2022-04-14 17:33:14 +02:00
sigma67
64a1f1de47
get_home: small fixes to runs parsing (#251) 2022-02-27 13:11:16 +01:00
sigma67
c1170b9c93
feature: get_home (closes #251) 2022-02-27 10:27:37 +01:00
sigma67
878ae9a9bf
get_watch_playlist: recognize audioPlaylistIds as playlists to not error on continuations (#246) 2021-12-20 10:21:17 +01:00
sigma67
312147232a
feature: add library search 2021-08-03 22:41:02 +02:00
sigma67
07794f70cf
get_charts: add docs, fix some bugs (#213) 2021-07-11 20:20:47 +02:00
sigma67
42f08d1766
add get_charts (#213) 2021-07-11 18:40:06 +02:00
sigma67
a8652ea492
fix search test 2021-07-01 20:32:37 +02:00
impliedchaos
0b7596de5c add tests for mood methods 2021-07-01 11:42:56 -04:00
sigma67
474be51081
Update version to 0.17.3 2021-05-23 23:51:07 +02:00
impliedchaos
436d1cd7f3 Added get_signatureTimestamp() method. 2021-05-22 11:01:23 -04:00
sigma67
47d211849f
Update version to 0.17.2 2021-05-22 10:51:23 +02:00
sigma67
e1af1c2653
rework get_song to use player endpoint, remove get_streaming_data (#196) 2021-05-18 15:59:43 +02:00
sigma67
ed2706f2bb
Improve test coverage 2021-05-17 13:51:09 +02:00
sigma67
5ae470e260
validate playlist ids in playlist methods
additionally small code quality improvements
2021-05-14 19:45:41 +02:00
sigma67
81afbe118c
Feature: add get_playlist_suggestions
get_playlist: added suggestions_token
add_playlist_items: made videoIds parameter optional
2021-05-14 18:53:41 +02:00
sigma67
b76eea3738
search: support featured_playlists, community_playlists filters 2021-05-14 14:46:11 +02:00
sigma67
048f17989a
get x-goog-visitor-id dynamically to avoid errors caused by its expiry
removed headers.json
all headers provided by user are now used in the headers file created by setup.py instead of only required headers
2021-04-27 22:55:00 +02:00
sigma67
15e1b69698
search: also add artists without browseId to artists list (closes #187)
also fixed missing feedbackTokens for songs already in the library
2021-04-10 17:46:26 +02:00
sigma67
bfe26e9b1f
Feature: add get_album_browse_id (#186) 2021-04-05 15:54:41 +02:00
sigma67
71c2a1d11b
Add localization for get_artist related artists (#181) 2021-03-24 13:35:02 +01:00
mikefreemanwd
8ec9b6ac41 removed named exception in favor of ValueError when non-music YouTube channel id given to get_artist. Minor changes to structure of related artists property in get_artist, added thumbnails. 2021-03-23 12:01:07 -04:00
mikefreemanwd
15bf0bbe1b Feature: add related artist section to BrowsingMixin get_artist method 2021-03-23 12:01:06 -04:00
Matt Carvalho
4846cef54b After adding songs to a playlist return a dict containing the new setVideoIds for each videoId 2021-03-20 20:53:57 -04:00
sigma67
cc69b56c20
Add videoId param for shuffling playlists (determines first video in shuffled playlist) 2021-02-17 15:49:03 +01:00
sigma67
0332269949
search: Add default value None for album property of song results 2021-02-12 11:36:54 +01:00
sigma67
d97d88d4ef
Fix continuations for some library functions
Update tests, reduce code duplication
2021-02-04 13:52:39 +01:00
sigma67
1c664b6799
Add shuffleId, radioId to artist results [search, get_artist, get_library_artists, get_library_subscriptions, get_library_upload_artists] (closes #153) 2021-01-28 16:41:59 +01:00
sigma67
d4c132f10f
Add requests session to reuse TCP connection (#159) 2021-01-27 14:59:59 +01:00
sigma67
cb1f58d696
Add isExplicit to albums (closes #99) 2021-01-11 11:38:17 +01:00
sigma67
5ce1f4bd50
Add exception if browseId None is passed to avoid confusing errors 2021-01-05 21:49:02 +01:00
sigma67
bfbbcc5859
Update behavior of get_lyrics to match YouTube API 2021-01-05 20:04:24 +01:00
sigma67
3de9b5e4e8
Add artists, album and feedbackTokens to get_watch_playlist 2021-01-05 19:51:52 +01:00
sigma67
7107aca6b1
Add limit parameter to get_library_upload_artist (closes #139) 2021-01-03 23:07:57 +01:00
sigma67
3eee8795da
Feature: add edit_song_library_status (closes #68) 2020-12-15 15:54:22 +01:00
sigma67
6022337a33
Add library add/remove feedbackTokens to get_album (#68) 2020-12-15 15:35:56 +01:00
sigma67
cfdb040652
Update get_artist to work with MPLA IDs now returned by get_library_artists (closes #117) 2020-12-14 14:18:13 +01:00
sigma67
fee86377a8
Move lyrics retrieval to get_watch_playlist (closes #114)
Add get_lyrics to docs
Remove video and browseId from get_lyrics return Dict
2020-12-14 14:04:17 +01:00
alexmercerind
eec1ff1d29 Added lyricsFound key to get_lyrics result & updated tests 2020-12-04 21:20:22 +05:30
alexmercerind
0d81ec9dcd Added tests for get_lyrics 2020-12-04 18:33:23 +05:30
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
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
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