2017 © Pedro Peláez
 

library scrape-pod

Search Podcast with Itunes and Digital Podcast. Podcast XML Scraper and Parser

image

tzsk/scrape-pod

Search Podcast with Itunes and Digital Podcast. Podcast XML Scraper and Parser

  • Wednesday, November 8, 2017
  • by kazimahmed
  • Repository
  • 2 Watchers
  • 4 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Scrape Pod

Latest Version on Packagist ![Software License][ico-license] Build Status StyleCI Quality Score ![Total Downloads][ico-downloads], (*1)

Scrape Pod is a Podcast Searching and XML parsing tool. You can search podcasts from Itunes or DigitalPodcast. This tool is designed for Laravel 5.1 and above but this can be used outside laravel as well., (*2)

Install

Via Composer, (*3)

``` bash $ composer require tzsk/scrape-pod, (*4)


## Configure If you are using Laravel 5.4 or Below you need to perform following steps to configure. And if you are using this package outside Laravel then you don't have to perform these steps. In your `config/app.php` file place the Provider and alias like so. ```php 'providers' => [ ... Tzsk\ScrapePod\Provider\ScrapePodServiceProvider::class, ... ], 'aliases' => [ ... 'ScrapePod' => Tzsk\ScrapePod\Facade\ScrapePod::class, ... ],

Usage with Laravel

Searching Example:, (*5)

At the top of any file use the namespace;, (*6)

``` php ... use Tzsk\ScrapePod\Facade\ScrapePod; ..., (*7)


Now, inside any method use it like this: ```php $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");

XML Parsing Example:, (*8)

From the search results you can find the rss feed url. You can use that URL or any other Feed URL you want., (*9)

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

This will give you the Sraped Result Set of any information found on that Feed URL., (*10)

Usage outside Laravel

At the top of any file use the namespace;, (*11)

``` php ... use Tzsk\ScrapePod\ScrapePodcast; ..., (*12)


Now, inside any method use it like this: ```php $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");

XML Parsing Example:, (*13)

From the search results you can find the rss feed url. You can use that URL or any other Feed URL you want., (*14)

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

This will give you the Sraped Result Set of any information found on that Feed URL., (*15)

Change log

Please see CHANGELOG for more information on what has changed recently., (*16)

Testing

bash $ composer test, (*17)

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*18)

Security

If you discover any security related issues, please email mailtokmahmed@gmail.com instead of using the issue tracker., (*19)

Credits

License

The MIT License (MIT). Please see License File for more information., (*20)

The Versions

08/11 2017

dev-master

9999999-dev https://github.com/tzsk/scrape-pod

Search Podcast with Itunes and Digital Podcast. Podcast XML Scraper and Parser

  Sources   Download

MIT

The Requires

 

The Development Requires

tzsk scrape pod search podcast podcast scraper laravel podcast scraper laravel search podcast podcast xml reader laravel podcast xml reader itunes podcast search digital podcast search

08/11 2017

1.2.0

1.2.0.0 https://github.com/tzsk/scrape-pod

Search Podcast with Itunes and Digital Podcast. Podcast XML Scraper and Parser

  Sources   Download

MIT

The Requires

 

The Development Requires

tzsk scrape pod search podcast podcast scraper laravel podcast scraper laravel search podcast podcast xml reader laravel podcast xml reader itunes podcast search digital podcast search

04/11 2017

1.1.0

1.1.0.0 https://github.com/tzsk/scrape-pod

Search Podcast with Itunes and Digital Podcast. Podcast XML Scraper and Parser

  Sources   Download

MIT

The Requires

 

The Development Requires

tzsk scrape pod search podcast podcast scraper laravel podcast scraper laravel search podcast podcast xml reader laravel podcast xml reader itunes podcast search digital podcast search

29/10 2017

1.0.0

1.0.0.0 https://github.com/tzsk/scrape-pod

Podcast XML Scraper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

tzsk scrape pod search podcast podcast scraper laravel podcast scraper laravel search podcast podcast xml reader laravel podcast xml reader itunes podcast search digital podcast search