ImdbGrabber
This Imdb Class allows you to fetch Movie details from Imdb.com. It uses XPath / Dom Traversing for scrapping content from imdb.com.
Install / Use
/learn @itsalif/ImdbGrabberREADME
PHP IMDB Grabber
PHP IMDB Grabber is a class that fetches details from IMDB.com. It uses XPath / DOM Traversing for scrapping content from imdb.
How to Use
At first include PHP class file (class.imdb.php)
<pre> require_once 'path/to/class.imdb.php'; </pre>Then, just use the following:
<pre> $imdb = new Imdb(); // Pass the entire path or a search query $imdb->get('http://www.imdb.com/title/tt0103064/'); // or the name of Movie $imdb->get('The Matrix'); </pre>Parameters / Options
By default, the the method does not return the cast in the movie. If you wish to get a list of the cast, use the following method:
$imdb->showCast(true)->get('Name OR URL of Movie');
Online Documentation / Demo
-
View Online Documentation: http://www.itsalif.info/content/imdb-details-grabber-using-php-dom-xpath-extract-movie-details
-
Check out Online Demo: http://www.itsalif.info/content/example-imdb-details-grabber
Change Log
-
Version 1.5 (Feb 10, 2010)
Added the showCast Method. When this method is invoked with a 'true' parameter, the cast in the movie is also grabbed.
-
Version 2 (July 15, 2010)
Added a simple regex check for validity of URL on isValidURL method.
-
Version 2.1 (Oct 10, 2010)
Rewrote the XPath expression as IMDB Changed their Layout completely.
-
Version 2.1 (Dec 9, 2010)
Fixed a Bug on Cast for new Layout and added Budget Info.
-
Version 2.1 (May 29, 2011)
Added Genres - Provided by Greg Fitzgerald (Github: https://github.com/gregf)
-
Version 2.3 (August 10, 2012)
Replaced DomDocument->load with CURL for loading IMDB Page. Updated the xpath expression for Runtime for new layout
License & Policy
Copyright (c) 2010 Abdullah Rubiyath http://www.itsalif.info/. The script has been released under MIT License.
Please note that this script is created as a demo of screen scrapping. IMDB Policy prohibits screen scrapping.
Related Skills
qqbot-channel
346.4kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.1k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
346.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
