Easily find podcasts!
PHP library to find podcasts
Install podcastcrawler/podcastcrawler using Composer:
It's required PHP >= 5.4.0 and have Tidy library installed.
$ composer require podcastcrawler/podcastcrawler
<?php // Require the composer auto loader require 'vendor/autoload.php'; use PodcastCrawler\PodcastCrawler; use PodcastCrawler\Provider\Itunes; $PodcastCrawler = new PodcastCrawler(new Itunes); $PodcastCrawler->get('nerdcast'); // Returns an array with search result (result count and a list with podcasts). $PodcastCrawler->limit(2)->get('dev'); // Returns an array with 2 (two) items. Result count is also included. $PodcastCrawler->find('https://jovemnerd.com.br/feed-nerdcast/'); // Returns an array with the podcast's detail and episodes with its mp3 files.
See the documentation for more.