|
2 | 2 |
|
3 | 3 | import org.schabi.newpipe.extractor.channel.ChannelExtractor; |
4 | 4 | import org.schabi.newpipe.extractor.channel.tabs.ChannelTabExtractor; |
5 | | -import org.schabi.newpipe.extractor.bulletComments.BulletCommentsExtractor; |
6 | 5 | import org.schabi.newpipe.extractor.comments.CommentsExtractor; |
7 | 6 | import org.schabi.newpipe.extractor.exceptions.ExtractionException; |
8 | 7 | import org.schabi.newpipe.extractor.exceptions.ParsingException; |
@@ -77,7 +76,7 @@ public Set<MediaCapability> getMediaCapabilities() { |
77 | 76 | } |
78 | 77 |
|
79 | 78 | public enum MediaCapability { |
80 | | - AUDIO, VIDEO, LIVE, COMMENTS, BULLET_COMMENTS |
| 79 | + AUDIO, VIDEO, LIVE, COMMENTS |
81 | 80 | } |
82 | 81 | } |
83 | 82 |
|
@@ -164,9 +163,6 @@ public String toString() { |
164 | 163 | */ |
165 | 164 | public abstract SearchQueryHandlerFactory getSearchQHFactory(); |
166 | 165 | public abstract ListLinkHandlerFactory getCommentsLHFactory(); |
167 | | - public ListLinkHandlerFactory getBulletCommentsLHFactory() { |
168 | | - return null; |
169 | | - } |
170 | 166 |
|
171 | 167 | /*////////////////////////////////////////////////////////////////////////// |
172 | 168 | // Extractors |
@@ -245,10 +241,6 @@ public abstract StreamExtractor getStreamExtractor(LinkHandler linkHandler) |
245 | 241 |
|
246 | 242 | public abstract CommentsExtractor getCommentsExtractor(ListLinkHandler linkHandler) |
247 | 243 | throws ExtractionException; |
248 | | - public BulletCommentsExtractor getBulletCommentsExtractor( |
249 | | - final ListLinkHandler linkHandler) throws ExtractionException { |
250 | | - return null; |
251 | | - } |
252 | 244 |
|
253 | 245 | /*////////////////////////////////////////////////////////////////////////// |
254 | 246 | // Extractors without link handler |
@@ -311,15 +303,6 @@ public StreamExtractor getStreamExtractor(final String url) throws ExtractionExc |
311 | 303 | return getStreamExtractor(getStreamLHFactory().fromUrl(url)); |
312 | 304 | } |
313 | 305 |
|
314 | | - public BulletCommentsExtractor getBulletCommentsExtractor(final String url) |
315 | | - throws ExtractionException { |
316 | | - final ListLinkHandlerFactory listLinkHandlerFactory = getBulletCommentsLHFactory(); |
317 | | - if (listLinkHandlerFactory == null) { |
318 | | - return null; |
319 | | - } |
320 | | - return getBulletCommentsExtractor(listLinkHandlerFactory.fromUrl(url)); |
321 | | - } |
322 | | - |
323 | 306 | public CommentsExtractor getCommentsExtractor(final String url) throws ExtractionException { |
324 | 307 | final ListLinkHandlerFactory listLinkHandlerFactory = getCommentsLHFactory(); |
325 | 308 | if (listLinkHandlerFactory == null) { |
|
0 commit comments