cocojr/allocine-spider
Composer 安装命令:
composer require cocojr/allocine-spider
包简介
Allocine spider
README 文档
README
Installation
composer require cocojr/allocine-spider
Tests
./vendor/bin/phpunit
Allocine Spider written in PHP
A simple class to fetch films, series and persons from allocine.fr
Use fetchFilm with the allocine ID to get a \StdClass with all informations.
Informations included:
- allocineId
- title
- synopsis
- img
- releaseDate
- duration
- creators
- actors
- types
- nationalities
Use fetchPerson with the allocine ID to get a \StdClass with all informations of the person.
Informations included:
- allocineId
- name
- birthDate
- img
- nationality
- biography
To get the allocine ID, just show the URL:
̀http://www.allocine.fr/film/fichefilm_gen_cfilm={ALLOCINE ID}.html for a film
http://www.allocine.fr/personne/fichepersonne_gen_cpersonne={ALLOCINE ID}.html for a person
@TODO: Implement the fetchSerie method.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-04-07