2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-09-02 15:25:32 +00:00

merge fix

This commit is contained in:
Ritvik Saraf
2018-10-19 20:17:26 +05:30
parent 05ef80c2eb
commit f58c914e73

View File

@@ -122,7 +122,7 @@ public abstract class StreamingService {
} }
public CommentsExtractor getCommentsExtractor(ListLinkHandler urlIdHandler) throws ExtractionException { public CommentsExtractor getCommentsExtractor(ListLinkHandler urlIdHandler) throws ExtractionException {
return getCommentsExtractor(urlIdHandler, NewPipe.getLocalization()); return getCommentsExtractor(urlIdHandler, NewPipe.getPreferredLocalization());
} }
//////////////////////////////////////////// ////////////////////////////////////////////
@@ -183,7 +183,7 @@ public abstract class StreamingService {
if(null == llhf) { if(null == llhf) {
return null; return null;
} }
return getCommentsExtractor(llhf.fromUrl(url), NewPipe.getLocalization()); return getCommentsExtractor(llhf.fromUrl(url), NewPipe.getPreferredLocalization());
} }
public abstract boolean isCommentsSupported(); public abstract boolean isCommentsSupported();