# pjftv

> Scrape links from Project Free TV.

Latest version **1.0.0** (published 2015-01-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install pjftv
pnpm add pjftv
yarn add pjftv
bun add pjftv
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-01-07 |
| First published | 2015-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Mister Hat |
| Maintainers | misterhat |
| Keywords | projectfreetv, tv, movies, links |

## Links

- npm: https://www.npmjs.com/package/pjftv
- Repository: https://github.com/misterhat/pjftv
- Issues: https://github.com/misterhat/pjftv/issues
- npm.io page: https://npm.io/package/pjftv

## Dependencies (3)

- [async](https://npm.io/package/async.md) ^0.9.0
- [needle](https://npm.io/package/needle.md) ^0.7.10
- [cheerio](https://npm.io/package/cheerio.md) ^0.18.0

## Recent versions

- 1.0.0 (latest) — 2015-01-07

## README

# pjftv
Scrape TV and movie links from Project Free TV.

## Installation

    $ npm install pjftv

## Example

```javascript
var pjftv = require('pjftv');

pjftv('dr. strangelove', function (err, links) {
    if (!err && links && links.length) {
        console.log(links);
    }
});

pjftv({ title: 'simpsons', episode: 5, season: 7 }, function (err, links) {
    if (!err && links && links.length) {
        console.log(links);
    }
});
```

## API

### pjftv(terms, [options], done)

Search the Project Free TV website for links for a specific TV episode or movie.

`terms` is either a string or an object. If `terms` is a string, it's assumed to
be a movie title.
If it's an object it's expected to have some of the following properties:

```javascript
{
    title: String,
    year: Number?,
    episode: Number?,
    season: Number?,
    section: 'tv' | 'movies'?
}
```

*If episode and season are provided, section is assumed to be "tv".*

`options` is an optional object with the following optional properties:

```javascript
{
    host: 'http://www.free-tv-video-online.me'
    parallel: 5, // how many link pages to open at a time
    needle: { } // options passed into the needle instance
}
```

`done` is a callback which returns an array of links.

## License
MIT

---
_Source: https://npm.io/package/pjftv · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
