mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
max 1000
This commit is contained in:
@@ -41,7 +41,8 @@ class ReadAndSyncEinundzwanzigPodcastFeed extends Command
|
|||||||
'data' => $podcast->feed,
|
'data' => $podcast->feed,
|
||||||
'created_by' => 1,
|
'created_by' => 1,
|
||||||
]);
|
]);
|
||||||
$episodes = $client->episodes->byFeedUrl('https://einundzwanzig.space/feed.xml')
|
$episodes = $client->episodes->withParameters(['max' => 1000])
|
||||||
|
->byFeedId(185230)
|
||||||
->json();
|
->json();
|
||||||
foreach ($episodes->items as $item) {
|
foreach ($episodes->items as $item) {
|
||||||
Episode::query()
|
Episode::query()
|
||||||
|
|||||||
Reference in New Issue
Block a user