Unverified Commit ec1127dd authored by Tobi's avatar Tobi Committed by GitHub
Browse files

Merge pull request #571 from TeamNewPipe/soundcloud_client_id

[SoundCloud] Update client_id and fix extraction
parents b608587e 33594d4a
......@@ -40,7 +40,7 @@ import static org.schabi.newpipe.extractor.ServiceList.SoundCloud;
import static org.schabi.newpipe.extractor.utils.Utils.*;
public class SoundcloudParsingHelper {
private static final String HARDCODED_CLIENT_ID = "H2c34Q0E7hftqnuDHGsk88DbNqhYpgMm"; // Updated on 24/06/20
private static final String HARDCODED_CLIENT_ID = "Kl9G8jQT22DxqatQk09IjWRujGlut5Vd"; // Updated on 04/03/21
private static String clientId;
private SoundcloudParsingHelper() {
......@@ -67,7 +67,7 @@ public class SoundcloudParsingHelper {
final HashMap<String, List<String>> headers = new HashMap<>();
headers.put("Range", singletonList("bytes=0-16384"));
headers.put("Range", singletonList("bytes=0-50000"));
for (Element element : possibleScripts) {
final String srcUrl = element.attr("src");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment