box-office-mojo-movie-gross
Get the gross of a Box Office Mojo's movie via its HTML.
Install
npm install --save box-office-mojo-movie-gross
Usage
var boxOfficeMojoGross = ;var pulpFictionHTML = '<tr><td><font>Domestic Total Gross: <b>$107,928,762</b></font>'; ; // 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