Skip to content

Commit ec1127d

Browse files
authored
Merge pull request #571 from TeamNewPipe/soundcloud_client_id
[SoundCloud] Update client_id and fix extraction
2 parents b608587 + 33594d4 commit ec1127d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import static org.schabi.newpipe.extractor.utils.Utils.*;
4141

4242
public class SoundcloudParsingHelper {
43-
private static final String HARDCODED_CLIENT_ID = "H2c34Q0E7hftqnuDHGsk88DbNqhYpgMm"; // Updated on 24/06/20
43+
private static final String HARDCODED_CLIENT_ID = "Kl9G8jQT22DxqatQk09IjWRujGlut5Vd"; // Updated on 04/03/21
4444
private static String clientId;
4545

4646
private SoundcloudParsingHelper() {
@@ -67,7 +67,7 @@ public synchronized static String clientId() throws ExtractionException, IOExcep
6767
Collections.reverse(possibleScripts);
6868

6969
final HashMap<String, List<String>> headers = new HashMap<>();
70-
headers.put("Range", singletonList("bytes=0-16384"));
70+
headers.put("Range", singletonList("bytes=0-50000"));
7171

7272
for (Element element : possibleScripts) {
7373
final String srcUrl = element.attr("src");

0 commit comments

Comments
 (0)