Clark University, Package for YouTube crawler and cleaning data
Project description
clarku-youtube-crawler
Clark University YouTube crawler and JSON decoder for YouTube json. Please read documentation in DOCS
Installing
To install,
pip install clarku-youtube-crawler
If missing requirements (I already include all dependencies so it shouldn't happen), download requirements.txt
here on this repo
and run
pip install -r requirements.txt
Example usage
To initialize,
# your_script.py
import clarku_youtube_crawler as cu
test = cu.RawCrawler()
test.__build__()
test.crawl("searchkey",start_date=14, start_month=12, start_year=2020, day_count=2)
test.crawl_videos_in_list(comment_page_count=1)
test.merge_all()
channel = cu.ChannelCrawler()
channel.__build__()
channel.setup_channel(subscriber_cutoff=1000, keyword="")
channel.crawl()
channel.crawl_videos_in_list(comment_page_count=1)
channel.merge_all()
jsonn = cu.JSONDecoder()
jsonn.load_json("YouTube_RAW_20201221/FINAL_raw_merged.json")
Changelog
Version 0.0.1->0.0.3
This is beta without testing since python packaging is a pain. Please don't install these versions.
Version 0.0.5
Finally figured out testing. It works okay. More documentation to come.
Version 0.0.6
Stable release only for RawCrawler
feature
Version 1.0.0
Version 1.0.1
I think this might be our first full stable release.
Version 1.0.1.dev
Pre-release
Added different file types for ChannelCrawler. Added documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for clarku_youtube_crawler-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd650a8c8b2964a322255a343f4cdfcdb2a87042b19ede714440a34a9557090 |
|
MD5 | e998f7c247e20de64a07806058f5cd97 |
|
BLAKE2b-256 | 82a2b36427febdbc6d6b477ad042a7666fc31fe997468154cb848433654283cb |
Hashes for clarku_youtube_crawler-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84bf387df710fc5ea2e8f3adeec3e1c94e153a6d4c91bbfb126b1344e98c3f4d |
|
MD5 | d3d6a5fbfdea9ea01c32ca881f35bf24 |
|
BLAKE2b-256 | 17de126359736d7a8c818251f4c71072aee1898c5b8838278f56fdd408e331c1 |