tvphu213 / youtube-crawler

Youtube crawler & scraper based on scrapy. Written in Python3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Youtube Movie and Channel Crawler

Youtube crawler & scraper based on scrapy. Write in Python3.

REQUIREMENTS

Python 3.6+ SQLAlchemy (optional if save in MariaDB) Pytest (optional to test unit)

CONFIGURATION

Configuration is in ./yt/settings.py

Default save in CSV. Uncomment yt.pipelines.SqlAlchemy if you need store items in DB

ITEM_PIPELINES = {
    # 'yt.pipelines.SqlAlchemy': 300,
    'yt.pipelines.Csv': 300,
}

RUNING

scrapy crawl youtube

TESTING Model

pytest yt/test.py

About

Youtube crawler & scraper based on scrapy. Written in Python3.


Languages

Language:Python 99.4%Language:Shell 0.6%