|
1 | 1 | package org.schabi.newpipe.extractor.services.youtube.extractors; |
2 | 2 |
|
3 | | -import static org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeParsingHelper.getJsonResponse; |
4 | | -import static org.schabi.newpipe.extractor.services.youtube.linkHandler.YoutubeParsingHelper.getUrlFromNavigationEndpoint; |
5 | | - |
6 | 3 | import com.grack.nanojson.JsonArray; |
7 | 4 | import com.grack.nanojson.JsonObject; |
8 | | -import java.io.IOException; |
9 | | -import javax.annotation.Nonnull; |
10 | | -import javax.annotation.Nullable; |
11 | 5 |
|
12 | 6 | import org.schabi.newpipe.extractor.ListExtractor; |
13 | 7 | import org.schabi.newpipe.extractor.StreamingService; |
|
20 | 14 | import org.schabi.newpipe.extractor.stream.StreamInfoItem; |
21 | 15 | import org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector; |
22 | 16 |
|
| 17 | +import java.io.IOException; |
| 18 | + |
| 19 | +import javax.annotation.Nonnull; |
| 20 | +import javax.annotation.Nullable; |
| 21 | + |
| 22 | +import static org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getJsonResponse; |
| 23 | +import static org.schabi.newpipe.extractor.services.youtube.YoutubeParsingHelper.getUrlFromNavigationEndpoint; |
| 24 | + |
23 | 25 | /** |
24 | 26 | * A YoutubePlaylistExtractor for a mix (auto-generated playlist). It handles urls in the format of |
25 | 27 | * "youtube.com/watch?v=videoId&list=playlistId" |
@@ -185,4 +187,22 @@ private String getThumbnailUrlFromPlaylistId(String playlistId) throws ParsingEx |
185 | 187 | private String getThumbnailUrlFromVideoId(String videoId) { |
186 | 188 | return "https://i.ytimg.com/vi/" + videoId + "/hqdefault.jpg"; |
187 | 189 | } |
| 190 | + |
| 191 | + @Nonnull |
| 192 | + @Override |
| 193 | + public String getSubChannelName() { |
| 194 | + return ""; |
| 195 | + } |
| 196 | + |
| 197 | + @Nonnull |
| 198 | + @Override |
| 199 | + public String getSubChannelUrl() { |
| 200 | + return ""; |
| 201 | + } |
| 202 | + |
| 203 | + @Nonnull |
| 204 | + @Override |
| 205 | + public String getSubChannelAvatarUrl() { |
| 206 | + return ""; |
| 207 | + } |
188 | 208 | } |
0 commit comments