Piped-Backend/src/main/java/me/kavin/piped/Main.java

21 lines
481 B
Java
Raw Normal View History

2020-11-12 21:19:45 +00:00
package me.kavin.piped;
import org.schabi.newpipe.extractor.NewPipe;
import org.schabi.newpipe.extractor.localization.Localization;
import io.activej.inject.Injector;
2020-11-12 21:19:45 +00:00
import me.kavin.piped.utils.DownloaderImpl;
public class Main {
public static void main(String[] args) throws Exception {
2021-02-24 09:52:29 +00:00
NewPipe.init(new DownloaderImpl(), new Localization("en", "US"));
2020-11-12 21:19:45 +00:00
Injector.useSpecializer();
2021-02-24 09:52:29 +00:00
new ServerLauncher().launch(args);
2021-02-05 18:28:02 +00:00
2021-02-24 10:26:26 +00:00
}
2020-11-12 21:19:45 +00:00
}