Skip to content

Commit 07a2da9

Browse files
committed
Remove some unused code
1 parent 0d1042a commit 07a2da9

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/downloader/RecordingDownloader.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ public Response execute(@Nonnull final Request request) throws IOException,
7676
response.responseCode(),
7777
response.responseMessage(),
7878
response.responseHeaders(),
79-
// Uncomment this when running with the RecordingDownloader YoutubeLiveStreamExtractorTest
80-
// response.responseBody(),
8179
cleanedResponseBody,
8280
response.latestUrl()
8381
);

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/stream/YoutubeStreamExtractorLivestreamTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ public class YoutubeStreamExtractorLivestreamTest extends DefaultStreamExtractor
2626
private static final String URL = YoutubeStreamExtractorDefaultTest.BASE_URL + ID + "&t=" + TIMESTAMP;
2727
private static StreamExtractor extractor;
2828

29-
// When you run this test with the RecordingDownloader, please uncomment line 80 and comment
30-
// line 81. Otherwise, the test will fail because parsing the DASH manifest requires your IP
31-
// address. You will have to remove it manually in the mocks.
3229
@BeforeClass
3330
public static void setUp() throws Exception {
3431
YoutubeParsingHelper.resetClientVersionAndKey();

0 commit comments

Comments
 (0)