Skip to content

Commit 3c2b9a1

Browse files
committed
Create new Mocks
1 parent 003977f commit 3c2b9a1

File tree

764 files changed

+157278
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

764 files changed

+157278
-0
lines changed

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannelextractor/generated_mock_0.json

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"request": {
3+
"httpMethod": "POST",
4+
"url": "https://bandcamp.com/api/mobile/22/band_details",
5+
"headers": {
6+
"Content-Type": [
7+
"application/json"
8+
],
9+
"Accept-Language": [
10+
"en-GB, en;q\u003d0.9"
11+
]
12+
},
13+
"dataToSend": [
14+
123,
15+
34,
16+
98,
17+
97,
18+
110,
19+
100,
20+
95,
21+
105,
22+
100,
23+
34,
24+
58,
25+
34,
26+
50,
27+
52,
28+
53,
29+
48,
30+
56,
31+
55,
32+
53,
33+
48,
34+
54,
35+
52,
36+
34,
37+
125
38+
],
39+
"localization": {
40+
"languageCode": "en",
41+
"countryCode": "GB"
42+
}
43+
},
44+
"response": {
45+
"responseCode": 200,
46+
"responseMessage": "",
47+
"responseHeaders": {
48+
"accept-ranges": [
49+
"bytes"
50+
],
51+
"cache-control": [
52+
"no-cache, no-store"
53+
],
54+
"content-type": [
55+
"application/json; charset\u003dUTF-8"
56+
],
57+
"date": [
58+
"Sat, 12 Jul 2025 10:22:01 GMT"
59+
],
60+
"server": [
61+
"nginx"
62+
],
63+
"set-cookie": [
64+
"BACKENDID3\u003dflexocentral-xzr7-6; path\u003d/; Secure"
65+
],
66+
"strict-transport-security": [
67+
"max-age\u003d63072000"
68+
],
69+
"vary": [
70+
"Accept-Encoding"
71+
],
72+
"via": [
73+
"1.1 varnish, 1.1 varnish"
74+
],
75+
"x-cache": [
76+
"MISS, MISS"
77+
],
78+
"x-cache-hits": [
79+
"0, 0"
80+
],
81+
"x-served-by": [
82+
"cache-muc13953-MUC, cache-muc13953-MUC"
83+
],
84+
"x-timer": [
85+
"S1752315721.442388,VS0,VE186"
86+
]
87+
},
88+
"responseBody": "{\"id\":2450875064,\"name\":\"toupie\",\"bio_image_id\":28807809,\"bio_image_width\":640,\"bio_image_height\":640,\"bio\":\"making music:)\",\"bandcamp_url\":\"https://toupie.bandcamp.com\",\"sites\":[{\"url\":\"https://twitter.com/thetoupie\",\"title\":\"Twitter\"},{\"url\":\"https://soundcloud.com/thetoupie\",\"title\":\"SoundCloud\"},{\"url\":\"https://audiostock.jp/account/16560\",\"title\":\"audiostock.jp\"}],\"discography\":[{\"item_id\":548065099,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Mercury (Creative Commons)\",\"art_id\":597481927,\"release_date\":\"12 Jan 2022 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":629973001,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2020\",\"art_id\":4107107945,\"release_date\":\"31 Dec 2019 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":1649602427,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2019\",\"art_id\":4092083182,\"release_date\":\"28 Jan 2019 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":3897436435,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2018\",\"art_id\":1063316108,\"release_date\":\"23 Mar 2018 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":3781378502,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2017\",\"art_id\":2501408273,\"release_date\":\"25 Sep 2017 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064}],\"location\":\"Hyogo Prefecture, Japan\",\"header_image_id\":null,\"shows\":[],\"navbar_titles\":{\"m\":\"music\",\"p\":\"merch\",\"l\":\"live streams\",\"a\":\"artists\",\"v\":\"video\",\"u\":\"audio\",\"s\":\"subscribe\",\"c\":\"community\"},\"merch\":[],\"artists\":[]}",
89+
"latestUrl": "https://bandcamp.com/api/mobile/22/band_details"
90+
}
91+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"request": {
3+
"httpMethod": "POST",
4+
"url": "https://bandcamp.com/api/mobile/22/band_details",
5+
"headers": {
6+
"Content-Type": [
7+
"application/json"
8+
],
9+
"Accept-Language": [
10+
"en-GB, en;q\u003d0.9"
11+
]
12+
},
13+
"dataToSend": [
14+
123,
15+
34,
16+
98,
17+
97,
18+
110,
19+
100,
20+
95,
21+
105,
22+
100,
23+
34,
24+
58,
25+
34,
26+
50,
27+
52,
28+
53,
29+
48,
30+
56,
31+
55,
32+
53,
33+
48,
34+
54,
35+
52,
36+
34,
37+
125
38+
],
39+
"localization": {
40+
"languageCode": "en",
41+
"countryCode": "GB"
42+
}
43+
},
44+
"response": {
45+
"responseCode": 200,
46+
"responseMessage": "",
47+
"responseHeaders": {
48+
"accept-ranges": [
49+
"bytes"
50+
],
51+
"cache-control": [
52+
"no-cache, no-store"
53+
],
54+
"content-type": [
55+
"application/json; charset\u003dUTF-8"
56+
],
57+
"date": [
58+
"Sat, 12 Jul 2025 10:22:02 GMT"
59+
],
60+
"server": [
61+
"nginx"
62+
],
63+
"set-cookie": [
64+
"BACKENDID3\u003dflexocentral-xzr7-2; path\u003d/; Secure"
65+
],
66+
"strict-transport-security": [
67+
"max-age\u003d63072000"
68+
],
69+
"vary": [
70+
"Accept-Encoding"
71+
],
72+
"via": [
73+
"1.1 varnish, 1.1 varnish"
74+
],
75+
"x-cache": [
76+
"MISS, MISS"
77+
],
78+
"x-cache-hits": [
79+
"0, 0"
80+
],
81+
"x-served-by": [
82+
"cache-muc13942-MUC, cache-muc13953-MUC"
83+
],
84+
"x-timer": [
85+
"S1752315722.033223,VS0,VE160"
86+
]
87+
},
88+
"responseBody": "{\"id\":2450875064,\"name\":\"toupie\",\"bio_image_id\":28807809,\"bio_image_width\":640,\"bio_image_height\":640,\"bio\":\"making music:)\",\"bandcamp_url\":\"https://toupie.bandcamp.com\",\"sites\":[{\"url\":\"https://twitter.com/thetoupie\",\"title\":\"Twitter\"},{\"url\":\"https://soundcloud.com/thetoupie\",\"title\":\"SoundCloud\"},{\"url\":\"https://audiostock.jp/account/16560\",\"title\":\"audiostock.jp\"}],\"discography\":[{\"item_id\":548065099,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Mercury (Creative Commons)\",\"art_id\":597481927,\"release_date\":\"12 Jan 2022 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":629973001,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2020\",\"art_id\":4107107945,\"release_date\":\"31 Dec 2019 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":1649602427,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2019\",\"art_id\":4092083182,\"release_date\":\"28 Jan 2019 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":3897436435,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2018\",\"art_id\":1063316108,\"release_date\":\"23 Mar 2018 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064},{\"item_id\":3781378502,\"item_type\":\"album\",\"artist_name\":null,\"band_name\":\"toupie\",\"title\":\"Creative Commons 2017\",\"art_id\":2501408273,\"release_date\":\"25 Sep 2017 00:00:00 GMT\",\"is_purchasable\":true,\"band_id\":2450875064}],\"location\":\"Hyogo Prefecture, Japan\",\"header_image_id\":null,\"shows\":[],\"navbar_titles\":{\"m\":\"music\",\"p\":\"merch\",\"l\":\"live streams\",\"a\":\"artists\",\"v\":\"video\",\"u\":\"audio\",\"s\":\"subscribe\",\"c\":\"community\"},\"merch\":[],\"artists\":[]}",
89+
"latestUrl": "https://bandcamp.com/api/mobile/22/band_details"
90+
}
91+
}

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannelextractor/generated_mock_3.json

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"request": {
3+
"httpMethod": "POST",
4+
"url": "https://bandcamp.com/api/mobile/22/band_details",
5+
"headers": {
6+
"Content-Type": [
7+
"application/json"
8+
],
9+
"Accept-Language": [
10+
"en-GB, en;q\u003d0.9"
11+
]
12+
},
13+
"dataToSend": [
14+
123,
15+
34,
16+
98,
17+
97,
18+
110,
19+
100,
20+
95,
21+
105,
22+
100,
23+
34,
24+
58,
25+
34,
26+
48,
27+
34,
28+
125
29+
],
30+
"localization": {
31+
"languageCode": "en",
32+
"countryCode": "GB"
33+
}
34+
},
35+
"response": {
36+
"responseCode": 200,
37+
"responseMessage": "",
38+
"responseHeaders": {
39+
"accept-ranges": [
40+
"bytes"
41+
],
42+
"cache-control": [
43+
"no-cache, no-store"
44+
],
45+
"content-type": [
46+
"application/json; charset\u003dUTF-8"
47+
],
48+
"date": [
49+
"Sat, 12 Jul 2025 10:22:03 GMT"
50+
],
51+
"server": [
52+
"nginx"
53+
],
54+
"set-cookie": [
55+
"BACKENDID3\u003dflexocentral-79h5-1; path\u003d/; Secure"
56+
],
57+
"strict-transport-security": [
58+
"max-age\u003d63072000"
59+
],
60+
"vary": [
61+
"Accept-Encoding"
62+
],
63+
"via": [
64+
"1.1 varnish, 1.1 varnish"
65+
],
66+
"x-cache": [
67+
"MISS, MISS"
68+
],
69+
"x-cache-hits": [
70+
"0, 0"
71+
],
72+
"x-served-by": [
73+
"cache-muc13975-MUC, cache-muc13953-MUC"
74+
],
75+
"x-timer": [
76+
"S1752315723.282864,VS0,VE142"
77+
]
78+
},
79+
"responseBody": "{\"error\":true,\"error_message\":\"band_id 0 not found\"}",
80+
"latestUrl": "https://bandcamp.com/api/mobile/22/band_details"
81+
}
82+
}

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannellinkhandlerfactory/generated_mock_1.json

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannellinkhandlerfactory/generated_mock_10.json

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannellinkhandlerfactory/generated_mock_11.json

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannellinkhandlerfactory/generated_mock_12.json

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.

extractor/src/test/resources/mocks/v1/org/schabi/newpipe/extractor/services/bandcamp/bandcampchannellinkhandlerfactory/generated_mock_13.json

Lines changed: 68 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)