Ca marche pas trop mal

This commit is contained in:
Amaury
2021-07-12 17:02:39 +02:00
parent 81f540e29d
commit 9597cddc80
5 changed files with 1301 additions and 126 deletions

View File

@ -1,8 +1,8 @@
import { ListenerRssAggregator } from "listener-rss-agregator";
import { ListenerRSSInfos } from "listener-rss";
import { ListenerRss } from "listener-rss";
import { PeerTubeRequester } from "../lib/peertubeRequester";
type ListenerData = ListenerRSSInfos & {
type ListenerData = ListenerRss.Config & {
address: string;
channelId: string;
};
@ -38,7 +38,7 @@ async function register({
myManager = new ListenerRssAggregator(configAggregator);
peertube = new PeerTubeRequester({
domain_name: "localhost:9000",
domain_name: "http://localhost:9000",
username: "root",
password: "test",
});