File tree Expand file tree Collapse file tree
extractor/src/main/java/org/schabi/newpipe/extractor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public StreamExtractor getStreamExtractor(LinkHandler linkHandler) throws Extrac
122122 }
123123
124124 public CommentsExtractor getCommentsExtractor (ListLinkHandler urlIdHandler ) throws ExtractionException {
125- return getCommentsExtractor (urlIdHandler , NewPipe .getLocalization ());
125+ return getCommentsExtractor (urlIdHandler , NewPipe .getPreferredLocalization ());
126126 }
127127
128128 ////////////////////////////////////////////
@@ -183,7 +183,7 @@ public CommentsExtractor getCommentsExtractor(String url) throws ExtractionExcep
183183 if (null == llhf ) {
184184 return null ;
185185 }
186- return getCommentsExtractor (llhf .fromUrl (url ), NewPipe .getLocalization ());
186+ return getCommentsExtractor (llhf .fromUrl (url ), NewPipe .getPreferredLocalization ());
187187 }
188188
189189 public abstract boolean isCommentsSupported ();
You can’t perform that action at this time.
0 commit comments