PHPackages                             mirazmac/facktube - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mirazmac/facktube

AbandonedArchivedLibrary

mirazmac/facktube
=================

Scrape YouTube and fack on Google

v0.1(7y ago)357MITPHPPHP &gt;=5.4.0

Since Mar 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/MirazMac/FackTube)[ Packagist](https://packagist.org/packages/mirazmac/facktube)[ RSS](/packages/mirazmac-facktube/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

FackTube
========

[](#facktube)

YouTube Public Data Scrapper that parses HTML for the data

**FackTube** is a scrapper for retrieving YouTube public data. Currently it can only scrape videos. Channels, playlists and single video will be added in future. Feel free to fork and add.

It's not a reliable method for fetching data unless you use tons of paid proxies. And I wouldn't recommend using it on Production either. But hey, YouTube's been a real jerk lately with their Data API v3. It's the least we can do, so lets fack on YouTube.

### Install via Composer

[](#install-via-composer)

```
composer require mirazmac/facktube
```

### Limitations

[](#limitations)

- You can't limit or change the amount of results per page
- It depends on YouTube's internal html output, and since YouTube heavily relies on JavaScript it can only show the results YouTube provides with no filter whatsoever
- Its illegal and YouTube may block your IP if you send too many requests

Usage
-----

[](#usage)

Check **usage** folder for complete usage examples.

### Searching Videos

[](#searching-videos)

```
use MirazMac\FackTube\FackTube;

$fack = new FackTube($options);

try {
    $results = $fack->videos('Honest Trailer');
} catch (\Exception $e) {
    echo $e->getMessage();
    exit();
}

print_r($results);
```

#### But hey, if html parsing is so messy, Why not AJAX endpoints?

[](#but-hey-if-html-parsing-is-so-messy-why-not-ajax-endpoints)

Well, yeah I did that previously with [https://github.com/MirazMac/YouScrape](YouScrape) and now YouTube completely revamped their AJAX endpoints with session based Tokens and other stuff. So, thats a no no. But if you find a way to bypass those create a new repo and let me know, I'll be happy to contribute.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7e0cdba7ce3998a3f575d9010e3f10fd9943a8c6212dd7b63e89fb6c58f81e9?d=identicon)[mirazmac](/maintainers/mirazmac)

---

Top Contributors

[![MirazMac](https://avatars.githubusercontent.com/u/13865787?v=4)](https://github.com/MirazMac "MirazMac (3 commits)")

### Embed Badge

![Health badge](/badges/mirazmac-facktube/health.svg)

```
[![Health](https://phpackages.com/badges/mirazmac-facktube/health.svg)](https://phpackages.com/packages/mirazmac-facktube)
```

###  Alternatives

[n98/magerun

Tools for managing Magento projects and installations

1.4k264.7k7](/packages/n98-magerun)[razorpay/razorpay

Razorpay PHP Client Library

2024.8M44](/packages/razorpay-razorpay)[pubnub/pubnub

This is the official PubNub PHP SDK repository.

1314.6M17](/packages/pubnub-pubnub)[allyans3/steam-market-api-v2

Steam Market API v2

1937.3k](/packages/allyans3-steam-market-api-v2)[culqi/culqi-php

Cliente Culqi API para PHP

41356.8k1](/packages/culqi-culqi-php)[ahmadawais/sendy-php-api

Sendy PHP API Wrapper: Complete API interfacing.

8673.5k](/packages/ahmadawais-sendy-php-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
