Skip to content

Commit

Permalink
Regenerate cassettes raising errors
Browse files Browse the repository at this point in the history
These either threw HTTP 429 errors or ContentDecodingErrors.
My hypothesis for the latter, which seems validated by testing,
is that these cached broken responses.
  • Loading branch information
hseg committed Jul 5, 2024
1 parent a8c2a24 commit 29cbc5b
Show file tree
Hide file tree
Showing 22 changed files with 58,561 additions and 116,725 deletions.
6,299 changes: 478 additions & 5,821 deletions tests/providers/audio/cassettes/test_ytmusic/test_ytm_get_results.yaml

Large diffs are not rendered by default.

554 changes: 82 additions & 472 deletions tests/providers/audio/cassettes/test_ytmusic/test_ytm_search.yaml

Large diffs are not rendered by default.

1,452 changes: 481 additions & 971 deletions tests/types/cassettes/test_album/test_album_from_url.yaml

Large diffs are not rendered by default.

66,863 changes: 3,651 additions & 63,212 deletions tests/types/cassettes/test_artist/test_artist_from_string.yaml

Large diffs are not rendered by default.

5,929 changes: 4,361 additions & 1,568 deletions tests/types/cassettes/test_artist/test_artist_from_url.yaml

Large diffs are not rendered by default.

20,287 changes: 12,488 additions & 7,799 deletions tests/types/cassettes/test_playlist/test_playlist_from_string.yaml

Large diffs are not rendered by default.

3,351 changes: 1,292 additions & 2,059 deletions tests/types/cassettes/test_playlist/test_playlist_from_url.yaml

Large diffs are not rendered by default.

4,460 changes: 4,460 additions & 0 deletions tests/types/cassettes/test_playlist/test_playlist_length.yaml

Large diffs are not rendered by default.

134 changes: 47 additions & 87 deletions tests/types/cassettes/test_song/test_song_from_url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,49 +7,31 @@ interactions:
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer BQCIeSNhNCkB9Blimo9blo_jY1Ajv1qmG5IreR1KJxAVVqqr7sB5JKz-Fbo6MO8BbqXT1mgn2jb1OEN_yhrC7vHGajwYOQ7EFoOykGWMCQtYI_zd59I
- Bearer BQC-zjTBE8hkObo5L3K8ZPiN6nJKFk34LUCoSZa3kpfPjqmLNG57RAuTro320po0uZkjHmt_dc3mkddo-2eAle2j7N3jshGgrfJIWLUTL8UEaRocfRc
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.31.0
- python-requests/2.32.3
method: GET
uri: https://api.spotify.com/v1/tracks/1t2qKa8K72IBC8yQlhD9bU
response:
body:
string: "{\n \"album\" : {\n \"album_type\" : \"single\",\n \"artists\"
: [ {\n \"external_urls\" : {\n \"spotify\" : \"https://open.spotify.com/artist/4cZvsAtZm91PBC0tXlDrP0\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/artists/4cZvsAtZm91PBC0tXlDrP0\",\n
\ \"id\" : \"4cZvsAtZm91PBC0tXlDrP0\",\n \"name\" : \"Dirty Palm\",\n
\ \"type\" : \"artist\",\n \"uri\" : \"spotify:artist:4cZvsAtZm91PBC0tXlDrP0\"\n
\ } ],\n \"available_markets\" : [ ],\n \"external_urls\" : {\n \"spotify\"
: \"https://open.spotify.com/album/0cgpcZCPvGGXOCpXVqPrvJ\"\n },\n \"href\"
: \"https://api.spotify.com/v1/albums/0cgpcZCPvGGXOCpXVqPrvJ\",\n \"id\"
: \"0cgpcZCPvGGXOCpXVqPrvJ\",\n \"images\" : [ {\n \"height\" : 640,\n
\ \"url\" : \"https://i.scdn.co/image/ab67616d0000b273fe2cb38e4d2412dbb0e54332\",\n
\ \"width\" : 640\n }, {\n \"height\" : 300,\n \"url\" :
\"https://i.scdn.co/image/ab67616d00001e02fe2cb38e4d2412dbb0e54332\",\n \"width\"
: 300\n }, {\n \"height\" : 64,\n \"url\" : \"https://i.scdn.co/image/ab67616d00004851fe2cb38e4d2412dbb0e54332\",\n
\ \"width\" : 64\n } ],\n \"name\" : \"Ropes\",\n \"release_date\"
: \"2021-10-28\",\n \"release_date_precision\" : \"day\",\n \"total_tracks\"
: 1,\n \"type\" : \"album\",\n \"uri\" : \"spotify:album:0cgpcZCPvGGXOCpXVqPrvJ\"\n
\ },\n \"artists\" : [ {\n \"external_urls\" : {\n \"spotify\" :
\"https://open.spotify.com/artist/4cZvsAtZm91PBC0tXlDrP0\"\n },\n \"href\"
: \"https://api.spotify.com/v1/artists/4cZvsAtZm91PBC0tXlDrP0\",\n \"id\"
: \"4cZvsAtZm91PBC0tXlDrP0\",\n \"name\" : \"Dirty Palm\",\n \"type\"
: \"artist\",\n \"uri\" : \"spotify:artist:4cZvsAtZm91PBC0tXlDrP0\"\n },
{\n \"external_urls\" : {\n \"spotify\" : \"https://open.spotify.com/artist/3Jd7z115OQPFsb8W96yPjv\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/artists/3Jd7z115OQPFsb8W96yPjv\",\n
\ \"id\" : \"3Jd7z115OQPFsb8W96yPjv\",\n \"name\" : \"Chandler Jewels\",\n
\ \"type\" : \"artist\",\n \"uri\" : \"spotify:artist:3Jd7z115OQPFsb8W96yPjv\"\n
\ } ],\n \"available_markets\" : [ ],\n \"disc_number\" : 1,\n \"duration_ms\"
: 188000,\n \"explicit\" : false,\n \"external_ids\" : {\n \"isrc\" :
\"GB2LD2110301\"\n },\n \"external_urls\" : {\n \"spotify\" : \"https://open.spotify.com/track/1t2qKa8K72IBC8yQlhD9bU\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/tracks/1t2qKa8K72IBC8yQlhD9bU\",\n
\ \"id\" : \"1t2qKa8K72IBC8yQlhD9bU\",\n \"is_local\" : false,\n \"name\"
: \"Ropes\",\n \"popularity\" : 0,\n \"preview_url\" : null,\n \"track_number\"
: 1,\n \"type\" : \"track\",\n \"uri\" : \"spotify:track:1t2qKa8K72IBC8yQlhD9bU\"\n}"
string: !!binary |
H4sIAAAAAAAAAKxUXU/bMBR936+I8gzEdkIb+jZaDQ0mESZtQ0xT5MRu4+F8YDuBDvW/L3WclEJT
2m59yz23516fe+95/mBZNuZRmdrWyHquv9rvUM0LugzakmUzTu0jAwrFpJJL5Kf5Qx2lT4qKDPOw
FFyuqDQmi1yx6VxzJUoVcuQ4eUGzEwOcxHnqNLSOF99V8qO6S89gcD4G6pZPRABsQ7Y4auslgk7X
CHHB1vgqaChlH2fHxYhmei8tw2mjx4QJNbcCzNMV2InVFF0BpWCNiE1vowYfbXvnwvrVal1hxnHE
aZhicU9b1Vu4V/QdJV+O2QHxrIjvxkF1cXF7PS5uvz8Eoro0nZhCO6m9ZJN9dIbISP1OUopn9PWC
JZTNErUMDjzwQl2+1lfdVUyyuiVHkzg4GgwHcEBA/YvQ0J1SFEeuTz2CPIhIFAF66rkuWs3rkRGV
mDJGg01NuOCwJiAFaI8m6jJbmhh4B/Xg+adwLyFebWV3CF/rlZLt1ATlFEsaEqwaFAEEjyE4Rv6m
lLAQNGaS5ZlOJnjeZqlc1SutBI7v9RLANt6dmLYrE31zX0tw1L/UeqU3mdg/X9P7BrbXOe1iXjtZ
1xbj6rGt/U2r28//pKJ7SYZ/IDy9vgk+ycj/cTaYB7+rw1Xs4VtXcXtSp+I4wRnhVFiX9JFyeZiU
/Q80d7bV+23CZBxmZRpR0Z2ITUqBVX1QYdrcje+DxqXqoRScxUybxhRzSU3UjIqRF5OymRSxbvni
HH2ZIAiBC+DqdHoGvNt49VU7UKGHK+xfDdHn87E/v+HJ5Cz6tiqxy2Qbf+ij0jRmrFtTZMjzGPN1
YTYYnF3kRcmxYEq/sJG1trCK0cfQmG9Wcq7jurc34+kWRMMN6+vt0NCoT5/FXwAAAP//AwDnsF4P
rgkAAA==
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Expand All @@ -75,7 +57,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 28 Mar 2024 18:27:40 GMT
- Wed, 03 Jul 2024 18:45:21 GMT
server:
- envoy
strict-transport-security:
Expand All @@ -95,27 +77,25 @@ interactions:
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer BQCIeSNhNCkB9Blimo9blo_jY1Ajv1qmG5IreR1KJxAVVqqr7sB5JKz-Fbo6MO8BbqXT1mgn2jb1OEN_yhrC7vHGajwYOQ7EFoOykGWMCQtYI_zd59I
- Bearer BQC-zjTBE8hkObo5L3K8ZPiN6nJKFk34LUCoSZa3kpfPjqmLNG57RAuTro320po0uZkjHmt_dc3mkddo-2eAle2j7N3jshGgrfJIWLUTL8UEaRocfRc
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.31.0
- python-requests/2.32.3
method: GET
uri: https://api.spotify.com/v1/artists/4cZvsAtZm91PBC0tXlDrP0
response:
body:
string: "{\n \"external_urls\" : {\n \"spotify\" : \"https://open.spotify.com/artist/4cZvsAtZm91PBC0tXlDrP0\"\n
\ },\n \"followers\" : {\n \"href\" : null,\n \"total\" : 59029\n },\n
\ \"genres\" : [ \"gaming edm\", \"melbourne bounce\", \"melbourne bounce
international\" ],\n \"href\" : \"https://api.spotify.com/v1/artists/4cZvsAtZm91PBC0tXlDrP0\",\n
\ \"id\" : \"4cZvsAtZm91PBC0tXlDrP0\",\n \"images\" : [ {\n \"height\"
: 640,\n \"url\" : \"https://i.scdn.co/image/ab6761610000e5ebbe5fa23d87b2772cdbac60f7\",\n
\ \"width\" : 640\n }, {\n \"height\" : 320,\n \"url\" : \"https://i.scdn.co/image/ab67616100005174be5fa23d87b2772cdbac60f7\",\n
\ \"width\" : 320\n }, {\n \"height\" : 160,\n \"url\" : \"https://i.scdn.co/image/ab6761610000f178be5fa23d87b2772cdbac60f7\",\n
\ \"width\" : 160\n } ],\n \"name\" : \"Dirty Palm\",\n \"popularity\"
: 47,\n \"type\" : \"artist\",\n \"uri\" : \"spotify:artist:4cZvsAtZm91PBC0tXlDrP0\"\n}"
string: !!binary |
H4sIAAAAAAAAAJySy27CMBBF9/0Ky2tEHuRBs2vLB7CsqKrKSSaJJT8iZwJFiH+v4wRU1IIQ2US+
Ht8z157DEyEUvhGMYuKrN6KjJCMHq1q9azXyaj8otEFsu8zzdAtqPm3MCy09ZpB36EXFZtu94EY+
B+vXNx/fxcqsfWqNjrOBUWkh9A7Mb//GQDUsVS/EbJRQIxODlvjLeHE+XYMy4I5+2AWTXNUESkln
hEoQue6NAmJ/qoD/NMKVS4hcq8H+05me8OdsrOUX0bbBlK67Fs/58NK53CyRrD71fwoPvG7QRY38
Kb29/4uGbDtFqWwvnjPwWJ6kSZAEvv0ghjyHuGLholymeZimYVHmrEj8KqWT346X2EwId5d/4Yvw
EXgcpNHdcIu4Ag+SR+BVkC7vhlvEAJ+eXDEJjrPiBvdkzYQcH6jVbS+Y4eimPYqdiPt2rB6nYKzs
DXfaNCjZuJddm//jDwAAAP//AwAK3ADEYgMAAA==
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Expand All @@ -141,7 +121,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 28 Mar 2024 18:27:40 GMT
- Wed, 03 Jul 2024 18:45:21 GMT
server:
- envoy
strict-transport-security:
Expand All @@ -161,53 +141,33 @@ interactions:
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer BQCIeSNhNCkB9Blimo9blo_jY1Ajv1qmG5IreR1KJxAVVqqr7sB5JKz-Fbo6MO8BbqXT1mgn2jb1OEN_yhrC7vHGajwYOQ7EFoOykGWMCQtYI_zd59I
- Bearer BQC-zjTBE8hkObo5L3K8ZPiN6nJKFk34LUCoSZa3kpfPjqmLNG57RAuTro320po0uZkjHmt_dc3mkddo-2eAle2j7N3jshGgrfJIWLUTL8UEaRocfRc
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- python-requests/2.31.0
- python-requests/2.32.3
method: GET
uri: https://api.spotify.com/v1/albums/0cgpcZCPvGGXOCpXVqPrvJ
response:
body:
string: "{\n \"album_type\" : \"single\",\n \"artists\" : [ {\n \"external_urls\"
: {\n \"spotify\" : \"https://open.spotify.com/artist/4cZvsAtZm91PBC0tXlDrP0\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/artists/4cZvsAtZm91PBC0tXlDrP0\",\n
\ \"id\" : \"4cZvsAtZm91PBC0tXlDrP0\",\n \"name\" : \"Dirty Palm\",\n
\ \"type\" : \"artist\",\n \"uri\" : \"spotify:artist:4cZvsAtZm91PBC0tXlDrP0\"\n
\ } ],\n \"available_markets\" : [ ],\n \"copyrights\" : [ {\n \"text\"
: \"2021 NCS\",\n \"type\" : \"C\"\n }, {\n \"text\" : \"2021 NCS\",\n
\ \"type\" : \"P\"\n } ],\n \"external_ids\" : {\n \"upc\" : \"5055199555997\"\n
\ },\n \"external_urls\" : {\n \"spotify\" : \"https://open.spotify.com/album/0cgpcZCPvGGXOCpXVqPrvJ\"\n
\ },\n \"genres\" : [ ],\n \"href\" : \"https://api.spotify.com/v1/albums/0cgpcZCPvGGXOCpXVqPrvJ\",\n
\ \"id\" : \"0cgpcZCPvGGXOCpXVqPrvJ\",\n \"images\" : [ {\n \"height\"
: 640,\n \"url\" : \"https://i.scdn.co/image/ab67616d0000b273fe2cb38e4d2412dbb0e54332\",\n
\ \"width\" : 640\n }, {\n \"height\" : 300,\n \"url\" : \"https://i.scdn.co/image/ab67616d00001e02fe2cb38e4d2412dbb0e54332\",\n
\ \"width\" : 300\n }, {\n \"height\" : 64,\n \"url\" : \"https://i.scdn.co/image/ab67616d00004851fe2cb38e4d2412dbb0e54332\",\n
\ \"width\" : 64\n } ],\n \"label\" : \"NCS\",\n \"name\" : \"Ropes\",\n
\ \"popularity\" : 0,\n \"release_date\" : \"2021-10-28\",\n \"release_date_precision\"
: \"day\",\n \"total_tracks\" : 1,\n \"tracks\" : {\n \"href\" : \"https://api.spotify.com/v1/albums/0cgpcZCPvGGXOCpXVqPrvJ/tracks?offset=0&limit=50\",\n
\ \"items\" : [ {\n \"artists\" : [ {\n \"external_urls\" :
{\n \"spotify\" : \"https://open.spotify.com/artist/4cZvsAtZm91PBC0tXlDrP0\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/artists/4cZvsAtZm91PBC0tXlDrP0\",\n
\ \"id\" : \"4cZvsAtZm91PBC0tXlDrP0\",\n \"name\" : \"Dirty Palm\",\n
\ \"type\" : \"artist\",\n \"uri\" : \"spotify:artist:4cZvsAtZm91PBC0tXlDrP0\"\n
\ }, {\n \"external_urls\" : {\n \"spotify\" : \"https://open.spotify.com/artist/3Jd7z115OQPFsb8W96yPjv\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/artists/3Jd7z115OQPFsb8W96yPjv\",\n
\ \"id\" : \"3Jd7z115OQPFsb8W96yPjv\",\n \"name\" : \"Chandler
Jewels\",\n \"type\" : \"artist\",\n \"uri\" : \"spotify:artist:3Jd7z115OQPFsb8W96yPjv\"\n
\ } ],\n \"available_markets\" : [ ],\n \"disc_number\" : 1,\n
\ \"duration_ms\" : 188000,\n \"explicit\" : false,\n \"external_urls\"
: {\n \"spotify\" : \"https://open.spotify.com/track/1t2qKa8K72IBC8yQlhD9bU\"\n
\ },\n \"href\" : \"https://api.spotify.com/v1/tracks/1t2qKa8K72IBC8yQlhD9bU\",\n
\ \"id\" : \"1t2qKa8K72IBC8yQlhD9bU\",\n \"is_local\" : false,\n
\ \"name\" : \"Ropes\",\n \"preview_url\" : null,\n \"track_number\"
: 1,\n \"type\" : \"track\",\n \"uri\" : \"spotify:track:1t2qKa8K72IBC8yQlhD9bU\"\n
\ } ],\n \"limit\" : 50,\n \"next\" : null,\n \"offset\" : 0,\n
\ \"previous\" : null,\n \"total\" : 1\n },\n \"type\" : \"album\",\n
\ \"uri\" : \"spotify:album:0cgpcZCPvGGXOCpXVqPrvJ\"\n}"
string: !!binary |
H4sIAAAAAAAAALRW207bQBB971dYfugT4EvixI6EqmJUVJCKadUWUVXW2p4kW9YXdtemKeLfa+/6
khAcXKB5y8z4zOyZs8e+e6MoKiJBHvt8lYGqzBSV4WRBQN0TKcox46yK/1DuykgZg98caIKIn1Mi
MjJeZliWcjxfCZQl5xmbaVqaQXJQJw7CNNYkpDYOrwr2nl/FjuEduTq/JMfU01UBdb8nOy0pzDfA
UIY3sAqjhmN9eDUSjgTO7qIExZKBY0z5SvEQiZtUS45s14RziiVlcqaZzM76z3av/JS8FggTFBDw
Y0SvoWFYJsM0W1G8WD7gnZfEi26mbhrKJ/fL1nCuaLE3/AFvfaZ2rzhaW6uaZ6GotXTLMhzHsizH
mcpGb/rVMFALlfI0PVxk4ZXrFScnl+dudvntxqPFaddiAQmFDYYGCaPCZn3gAqZWxc6SGC1gcw9L
qHZThSZjvRUC2ZinnCaMknIUTQBoKJhMJ8Yk0stfYE5HczDDYGTDODLHhhkFgQ7WeDQymw3d4ogv
6xYbO+2aj/TnNDdANwc3L1v0NJ+Mn9F7bFvGPxx8TZrlVQHZp1Fxd1k/l6piMpalWU4QxVzITtCj
UiCAGPgR4tBehn1D3zdtdavAzyiEmOE0EaURWskanvJS4Zyi8FpowZDR9n/Dz0tlqUnId+l8zoAf
6m8JjjE/tDof4xBvqPFxj97t06/q1Wt+/bqePdi3n/DuHf79PA+XJ/4/TI9Oo+kfw7DOL7wPLLC/
O5OV96t4OdM9uNtMP13YMu0uURIRoMop3AJhL6N798FrH5By3/HqFAURZqGf5HEAtL2rMpFTxMu7
7csrZNi23nioWGJGcIiFvc0RYbCW6V3vsOWKW60Z3Lw5Q/bZ1Px45NqrC7I8doKvnaKadkP2Kn2i
D7KFqpf6ZBnzSRoisn30R1xWxEufLDDc+rX9JzkhbU7M9ugCWlmIkg7toSZEeraLr1YQqnDI6mmr
eR0m9WdPN5Qq/bR9KTQHSHP2oFAYvRi6/frotFw5t3wfbIm4Ss36vmPu/wIAAP//AwBozydRZgsA
AA==
headers:
Alt-Svc:
- h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Expand All @@ -233,7 +193,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 28 Mar 2024 18:27:41 GMT
- Wed, 03 Jul 2024 18:45:21 GMT
server:
- envoy
strict-transport-security:
Expand Down
Loading

0 comments on commit 29cbc5b

Please sign in to comment.