mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
new feed
This commit is contained in:
@@ -61,6 +61,7 @@ class ReadAndSyncPodcastFeeds extends Command
|
|||||||
foreach ($feedIds as $feedId) {
|
foreach ($feedIds as $feedId) {
|
||||||
$podcast = $client->podcasts->byFeedId($feedId)
|
$podcast = $client->podcasts->byFeedId($feedId)
|
||||||
->json();
|
->json();
|
||||||
|
info('Importing: '.$podcast->feed->title);
|
||||||
$importPodcast = Podcast::query()
|
$importPodcast = Podcast::query()
|
||||||
->updateOrCreate(['guid' => $podcast->feed->podcastGuid], [
|
->updateOrCreate(['guid' => $podcast->feed->podcastGuid], [
|
||||||
'title' => $podcast->feed->title,
|
'title' => $podcast->feed->title,
|
||||||
|
|||||||
Reference in New Issue
Block a user