Features/api/youtube source (#25)
* corrected the youtube url getting added wrong * updated seed
This commit is contained in:
parent
bacc04ad7d
commit
a25c44d8cc
@ -119,7 +119,7 @@ public class SourcesController : ControllerBase
|
|||||||
Type = SourceTypes.YouTube,
|
Type = SourceTypes.YouTube,
|
||||||
Name = htmlClient.Data.Header.Title,
|
Name = htmlClient.Data.Header.Title,
|
||||||
Source = "feed",
|
Source = "feed",
|
||||||
Url = "feed",
|
Url = url,
|
||||||
Enabled = true,
|
Enabled = true,
|
||||||
Tags = $"{SourceTypes.YouTube},{htmlClient.Data.Header.Title}",
|
Tags = $"{SourceTypes.YouTube},{htmlClient.Data.Header.Title}",
|
||||||
YoutubeId = htmlClient.Data.Header.YoutubeChannelID ?? ""
|
YoutubeId = htmlClient.Data.Header.YoutubeChannelID ?? ""
|
||||||
|
15
seed.ps1
15
seed.ps1
@ -84,21 +84,34 @@ $redditSteamDeck = New-RedditSource -Name "steamdeck"
|
|||||||
$rssSteamDeck = New-RssSource -Name "Steampowered - Steam Deck" -Url "https://store.steampowered.com/feeds/news/app/1675200/?cc=US&l=english&snr=1_2108_9__2107"
|
$rssSteamDeck = New-RssSource -Name "Steampowered - Steam Deck" -Url "https://store.steampowered.com/feeds/news/app/1675200/?cc=US&l=english&snr=1_2108_9__2107"
|
||||||
$rssFaysHaremporium = New-RssSource -Name "Fay's Haremporium" -Url "https://blog.nyxstudios.moe/rss/"
|
$rssFaysHaremporium = New-RssSource -Name "Fay's Haremporium" -Url "https://blog.nyxstudios.moe/rss/"
|
||||||
$rssPodcastLetsMosley = New-RssSource -Name "Let's Mosley" -Url "https://anchor.fm/s/6c7aa4c4/podcast/rss"
|
$rssPodcastLetsMosley = New-RssSource -Name "Let's Mosley" -Url "https://anchor.fm/s/6c7aa4c4/podcast/rss"
|
||||||
|
$rssOmgLinux = New-RssSource -Name "Omg! Linux" -Url "https://www.omglinux.com/feed"
|
||||||
|
$rssEngadget = New-RssSource -Name "Engadget" -Url "https://www.engadget.com/rss.xml"
|
||||||
|
$rssArsTechnica = New-RssSource -Name "Ars Technica" -Url "https://feeds.arstechnica.com/arstechnica/index"
|
||||||
|
|
||||||
$youtubeGameGrumps = New-YoutubeSource -Url "https://www.youtube.com/user/GameGrumps"
|
$youtubeGameGrumps = New-YoutubeSource -Url "https://www.youtube.com/user/GameGrumps"
|
||||||
$youtubeCityPlannerPlays = New-YoutubeSource -Url "https://www.youtube.com/c/cityplannerplays"
|
$youtubeCityPlannerPlays = New-YoutubeSource -Url "https://www.youtube.com/c/cityplannerplays"
|
||||||
$youtubeLinusTechTips = New-YoutubeSource -Url "https://www.youtube.com/@LinusTechTips"
|
$youtubeLinusTechTips = New-YoutubeSource -Url "https://www.youtube.com/@LinusTechTips"
|
||||||
|
$youtubeFireship = New-YoutubeSource -Url "https://www.youtube.com/@Fireship"
|
||||||
|
$youtubeClimateTown = New-YoutubeSource -Url "https://www.youtube.com/c/ClimateTown"
|
||||||
|
|
||||||
|
|
||||||
$twitchNintendo = New-TwitchSource -Name "Nintendo"
|
$twitchNintendo = New-TwitchSource -Name "Nintendo"
|
||||||
|
|
||||||
$miharuMonitor = New-DiscordWebhook -Server "Miharu Monitor" -Channel "dev" -Url $secrets.MiharuMonitor.dev01
|
$miharuMonitor = New-DiscordWebhook -Server "Miharu Monitor" -Channel "dev" -Url $secrets.MiharuMonitor.dev02
|
||||||
|
$sky = New-DiscordWebhook -Server "Let's Mosley" -Channel "bot test" -url $secrets.LetsMosley.test
|
||||||
|
|
||||||
New-Subscription -SourceId $redditDadJokes.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $redditDadJokes.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $redditSteamDeck.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $redditSteamDeck.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $rssSteamDeck.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $rssSteamDeck.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $rssFaysHaremporium.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $rssFaysHaremporium.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $rssPodcastLetsMosley.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $rssPodcastLetsMosley.id -DiscordWebhookId $miharuMonitor.id
|
||||||
|
New-Subscription -SourceId $rssPodcastLetsMosley.id -DiscordWebhookId $sky.id
|
||||||
|
New-Subscription -SourceId $rssOmgLinux.id -DiscordWebhookId $miharuMonitor.id
|
||||||
|
New-Subscription -SourceId $rssEngadget.id -DiscordWebhookId $miharuMonitor.id
|
||||||
|
New-Subscription -SourceId $rssArsTechnica.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $youtubeGameGrumps.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $youtubeGameGrumps.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $youtubeCityPlannerPlays.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $youtubeCityPlannerPlays.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $youtubeLinusTechTips.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $youtubeLinusTechTips.id -DiscordWebhookId $miharuMonitor.id
|
||||||
|
New-Subscription -SourceId $youtubeFireship.id -DiscordWebhookId $miharuMonitor.id
|
||||||
|
New-Subscription -SourceId $youtubeClimateTown.id -DiscordWebhookId $miharuMonitor.id
|
||||||
New-Subscription -SourceId $twitchNintendo.id -DiscordWebhookId $miharuMonitor.id
|
New-Subscription -SourceId $twitchNintendo.id -DiscordWebhookId $miharuMonitor.id
|
||||||
|
Loading…
Reference in New Issue
Block a user