0.3.5 • Published 10 years ago

box-office-mojo-movie-title v0.3.5

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

box-office-mojo-movie-title

Get the title of a Box Office Mojo's movie via its HTML.

npm version Build Status Test Coverage

Install

npm install --save box-office-mojo-movie-title

Usage

var boxOfficeMojoTitle = require('box-office-mojo-movie-title');
var pulpFictionHTML = '<html><head><title>Pulp Fiction (1994) - Box Office Mojo</title></head>/<html>';

boxOfficeMojoTitle(pulpFictionHTML); // 'Pulp Fiction'

API

boxOfficeMojoTitle(input)

Returns the title of the Box Office Mojo's movie.

input

Type: string

The full (or partial) HTML of a movie as presented in Box Office Mojo.

Example: Pulp Fiction's page in Box Office Mojo

License

MIT © Alejandro Beltrán

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago