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 @@ -41,16 +41,12 @@ private NewPipe() {
4141 }
4242
4343 public static void init (final Downloader d ) {
44- downloader = d ;
45- preferredLocalization = Localization .DEFAULT ;
46- preferredContentCountry = ContentCountry .DEFAULT ;
44+ init (d , Localization .DEFAULT );
4745 }
4846
4947 public static void init (final Downloader d , final Localization l ) {
50- downloader = d ;
51- preferredLocalization = l ;
52- preferredContentCountry = l .getCountryCode ().isEmpty ()
53- ? ContentCountry .DEFAULT : new ContentCountry (l .getCountryCode ());
48+ init (d , l , l .getCountryCode ().isEmpty ()
49+ ? ContentCountry .DEFAULT : new ContentCountry (l .getCountryCode ()));
5450 }
5551
5652 public static void init (final Downloader d , final Localization l , final ContentCountry c ) {
You can’t perform that action at this time.
0 commit comments