0.3.3 • Published 10 years ago

box-office-mojo-movie-gross v0.3.3

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

box-office-mojo-movie-gross

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

npm version Build Status Test Coverage

Install

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

Usage

var boxOfficeMojoGross = require('box-office-mojo-movie-gross');
var pulpFictionHTML = '<tr><td><font>Domestic Total Gross: <b>$107,928,762</b></font>';

boxOfficeMojoGross(pulpFictionHTML); // 107928762

API

boxOfficeMojoGross(input)

Returns the gross 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.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.1

10 years ago

0.1.0

10 years ago