PHP code example of tzsk / scrape-pod

1. Go to this page and download the library: Download tzsk/scrape-pod library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tzsk / scrape-pod example snippets


'providers' => [
    ...
    Tzsk\ScrapePod\Provider\ScrapePodServiceProvider::class,
    ...
],

'aliases' => [
    ...
    'ScrapePod' => Tzsk\ScrapePod\Facade\ScrapePod::class,
    ...
],

$response = ScrapePod::search("Laravel");
$response = ScrapePod::find("936914258"); # Works only with itunes.

# OR

$response = ScrapePod::limit(15)->search("Laravel");

# OR use Digital Podcast to Search.

$response = ScrapePod::digitalPodcast()->search("Laravel");
$response = ScrapePod::digitalPodcast()->limit(15)->search("Laravel");


$data = ScrapePod::feed($feedURL);

$scraper = new ScrapePodcast();
$response = $scraper->search("Laravel");

# OR

$response = $scraper->limit(15)->search("Laravel");

# OR use Digital Podcast to Search.

$response = $scraper->digitalPodcast()->search("Laravel");
$response = $scraper->digitalPodcast()->limit(15)->search("Laravel");


$data = $scraper->feed($feedURL);