|
1 | 1 | package org.schabi.newpipe.extractor.services.youtube; |
2 | 2 |
|
3 | | -import static java.util.Arrays.asList; |
4 | | -import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.AUDIO; |
5 | | -import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.LIVE; |
6 | | -import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO; |
7 | | - |
8 | 3 | import org.schabi.newpipe.extractor.StreamingService; |
9 | 4 | import org.schabi.newpipe.extractor.SuggestionExtractor; |
10 | 5 | import org.schabi.newpipe.extractor.channel.ChannelExtractor; |
|
38 | 33 | import org.schabi.newpipe.extractor.subscription.SubscriptionExtractor; |
39 | 34 | import org.schabi.newpipe.extractor.utils.Localization; |
40 | 35 |
|
| 36 | +import static java.util.Arrays.asList; |
| 37 | +import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.AUDIO; |
| 38 | +import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.LIVE; |
| 39 | +import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.VIDEO; |
41 | 40 |
|
42 | 41 | /* |
43 | 42 | * Created by Christian Schabesberger on 23.08.15. |
@@ -140,15 +139,16 @@ public SubscriptionExtractor getSubscriptionExtractor() { |
140 | 139 | return new YoutubeSubscriptionExtractor(this); |
141 | 140 | } |
142 | 141 |
|
143 | | - @Override |
144 | | - public ListLinkHandlerFactory getCommentsLHFactory() { |
145 | | - return YoutubeCommentsLinkHandlerFactory.getInstance(); |
146 | | - } |
| 142 | + @Override |
| 143 | + public ListLinkHandlerFactory getCommentsLHFactory() { |
| 144 | + return YoutubeCommentsLinkHandlerFactory.getInstance(); |
| 145 | + } |
147 | 146 |
|
148 | | - @Override |
149 | | - public CommentsExtractor getCommentsExtractor(ListLinkHandler urlIdHandler, Localization localization) throws ExtractionException { |
150 | | - return new YoutubeCommentsExtractor(this, urlIdHandler, localization); |
151 | | - } |
| 147 | + @Override |
| 148 | + public CommentsExtractor getCommentsExtractor(ListLinkHandler urlIdHandler, Localization localization) |
| 149 | + throws ExtractionException { |
| 150 | + return new YoutubeCommentsExtractor(this, urlIdHandler, localization); |
| 151 | + } |
152 | 152 |
|
153 | 153 | @Override |
154 | 154 | public boolean isCommentsSupported() { |
|
0 commit comments