Commit graph

640 commits

Author SHA1 Message Date
sigma67
d48951f00f
fix run parsing - artist mistaken as views (closes #313) 2022-11-03 17:17:19 +01:00
terry3041
2965004ba0 Add localization for zh_TW
zh_TW
Chinese (Traditional)
中文 (繁體)
2022-11-03 16:16:20 +01:00
Lucas Macedo
4221cb9c1e return videoType on playlist items 2022-11-03 16:15:03 +01:00
JohnHKoh
a406dbcf95 Remove quotes from cookies 2022-11-03 16:11:15 +01:00
Benjamin Ryzman
081a64d1b9 Add none_if_absent param to playlistId key in parse_albums 2022-10-04 12:38:23 +02:00
Benjamin Ryzman
c37a2eca2c Add playlistId key presence unittest 2022-10-04 12:30:15 +02:00
Benjamin Ryzman
4815fc521e Amend get_library_albums docstring 2022-10-04 11:35:26 +02:00
Benjamin Ryzman
56796e6785 Fix typo in MENU_PLAYLIST_ID 2022-10-04 11:34:54 +02:00
Benjamin Ryzman
0d25af1947 Add playlistId key to the album dicts in parse_album 2022-10-03 15:12:06 +02:00
sigma67
feac9501d9
add .readthedocs.yml 2022-10-01 18:12:29 +02:00
sigma67
0e0a6d1186
update README.rst 2022-10-01 17:44:09 +02:00
sigma67
92fd2c0dd2
require Python 3.8 2022-10-01 17:12:28 +02:00
sigma67
03a534f344
fix internal package version 2022-10-01 17:05:18 +02:00
sigma67
8501f9fe08
move headers_auth.json.example to docs/source
remove codecov.yml
2022-10-01 16:36:49 +02:00
atlasrule
7de7ecfcc0
Add check if absent
Checking if nested objects absent solved solved my issue, #298
I'm not sure if it's suitable.
2022-10-01 15:47:57 +02:00
sigma67
527fed67ff
get_watch_playlist: add shuffle and radio parameters (closes #282)
removed get_watch_playlist_shuffle in favor of the new shuffle parameter to get_watch_playlist
setting the radio parameter now properly randomizes the watch playlist, as discussed in #282
2022-10-01 15:36:22 +02:00
sigma67
207d7ad714
add coverage for bad request exception 2022-10-01 15:06:56 +02:00
sigma67
dd5d753432
get_album: add other versions (closes #279)
also added isExplicit label to all album type results
2022-10-01 15:03:16 +02:00
sigma67
c2d5e46805
remove get_playlist_suggestions - add suggestions and related to get_playlist
get_playlist_suggestions was not working anymore due to changes on YouTube's end
calls to the playlist page on YouTube Music now also return co-dependent continuations for suggestions and related items
to support both, these continuations are now part of get_playlist, but made optional through function parameters
default values are set backwards-compatible, i.e. no extra requests are performed without setting the new parameters
2022-09-30 19:36:48 +02:00
sigma67
3ab1d91a93
get_home: fix watch playlist error 2022-09-30 09:50:25 +02:00
sigma67
1cac82be21
get_library_*: fix for next YouTube update (#301) 2022-09-29 21:13:08 +02:00
sigma67
d36a01077d
test_get_library_playlists: add limit to cfg 2022-09-29 21:11:56 +02:00
sigma67
3ea2aa2ff2
update coverage action 2022-09-26 14:36:32 +02:00
sigma67
9b74957a1f
tests: move some limits to test.cfg 2022-09-26 14:22:04 +02:00
sigma67
28668901a3
get_home: support watch_playlist content 2022-09-26 13:39:36 +02:00
sigma67
98c4661fce
get_library_songs: add support for limit=None (closes #275)
add tests for get_library_subscriptions and get_library_artists with limit=None
2022-09-26 13:39:01 +02:00
sigma67
ec771fc976
get_playlist: support None limit (#275) 2022-09-26 12:49:43 +02:00
sigma67
c85fd8c810
optimize tests for retrieving all library items (#275) 2022-09-26 11:19:22 +02:00
sigma67
1b94985014
retrieve all continuations when limit parameter is None (closes #300)
Squashed commit of the following:

commit 3f447e39a403bea746b18e79cd7a9177a20ef79c
Merge: 8746a2a c31c8da
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 12:17:44 2022 -0400

    Merge branch 'master' of https://github.com/adrinu/ytmusicapi into retrieve-all-playlists

commit 8746a2af5bdc12e5e16a87b6c69d39dde8712390
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 12:17:06 2022 -0400

    Limit to other funcs

commit 5b69523003b6d0c2a00e31e1ed4a022efeabee65
Merge: b7a3e75 d36d85d
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 12:07:45 2022 -0400

    Merge branch 'retrieve-all-playlists' of https://github.com/Auzzy/ytmusicapi into retrieve-all-playlists

commit c31c8dafae0c805dee68d2df19b3fe1ac454d707
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 11:35:05 2022 -0400

    Limit is none implementation

commit 6768f1d66de832c17b5557c910f4b2a353386690
Merge: b7a3e75 d36d85d
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 01:06:59 2022 -0400

    Merge branch 'retrieve-all-playlists' of https://github.com/Auzzy/ytmusicapi into retrieve-all-playlists

commit d36d85de9b3dff08a9997ca712817724b01608a3
Author: Austin Noto-Moniz <mathfreak65@gmail.com>
Date:   Mon May 30 16:55:53 2022 -0400

    get_library_playlists: When limit is None, return them all.
2022-09-26 10:36:02 +02:00
sigma67
b7a3e7544d
use pyproject.toml for build 2022-09-23 11:12:02 +02:00
sigma67
889b29b530
fix language exception error message 2022-09-22 18:07:26 +02:00
sigma67
07cb6d041f
Change version string to new format (#296) 2022-09-20 17:45:13 +02:00
sigma67
20b4631c31
setup docs: grammar fix 2022-09-02 11:20:12 +02:00
s1ack
b3c50c28c7
Update setup.rst
Added a bit more clarity
2022-09-02 08:54:09 +05:30
sigma67
4512dac409
set_tasteprofile: make internal get_tasteprofile request optional (#289) 2022-08-24 09:45:20 +02:00
sigma67
c3ed850026
tasteprofile: minor fixes to test (#289) 2022-08-24 09:00:08 +02:00
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
b3e233e75c
add tunerSettingValue to get_watch_playlist request (#282) 2022-08-02 17:07:55 +02:00
sigma67
1d5cfc3b3c
update tests sample video to version with lyrics 2022-08-02 17:07:43 +02:00
sigma67
7e5697596c
Update version to 0.22.0 2022-05-10 14:28:20 +02:00
sigma67
edb963766c
feature: add get_song_related (closes #252) 2022-05-10 14:12:16 +02:00
sigma67
7c242ba40b
add consent cookie to avoid consent page trigger (could cause unauthenticated requests to fail) 2022-05-05 15:53:08 +02:00
sigma67
f4ff4ba287
refactor helpers and utils, extract SearchMixin from BrowsingMixin 2022-05-05 14:26:45 +02:00
sigma67
1d30910e23
remove test invalidated by get_artist changes (#181, #267) 2022-04-14 17:33:14 +02:00
sigma67
2b44cbe64d
get_watch_playlist: add related content browseId 2022-04-14 17:27:13 +02:00
Jonah Brüchert
d6f8d5dc78
get_artist: Don't fail on channels with only one category of content
The current check is meant to detect channels with only video content,
but it also hits small bands that for example have only released singles
so far. An example for this is "UC1uK8RT3m4nNpXmOSsFsZeg".

Since failing is not really helpful anyway (for example in audiotube, it
could still play only the sound of a channel that contains only videos),
I propose to remove the check altogether.
2022-04-08 02:05:08 +02:00
sigma67
81d3799c6a
get_watch_playlist: add videoType to docs 2022-04-07 17:45:30 +02:00
Lucas Macedo
56b266dbdb
return video type on get watch playlist 2022-04-07 17:45:19 +02:00