GithubHelp home page GithubHelp logo

cat31905 / youtube-comment-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philbot9/youtube-comment-scraper

0.0 0.0 0.0 1.59 MB

A web client that scrapes YouTube comments

Home Page: http://ytcomments.klostermann.ca

License: ISC License

Dockerfile 0.07% Shell 1.31% JavaScript 61.48% CSS 7.67% HTML 29.46%

youtube-comment-scraper's Introduction

YouTube Comment Scraper

About

This is the web client for my Youtube Comment Scraper project. It is written in Node.js and uses the youtube-comment-api module to gain access to the comments. Given a YouTube video URL the client will request all comments for that video from the API. The results are displayed as nicely formatted JSON and CSV and can also be downloaded in those formats.

The results include the following information:

  • Comment ID
  • Username
  • Date
  • Timestamp
  • Number of Likes
  • Comment Text
  • Replies

To see it in action go to: ytcomments.klostermann.ca

Dependencies

A number of third party resources are required and need to be placed in the indicated directories.

Name Directory
jQuery static/libs/jquery.min.js
Font Awesome static/font-awesome
Bootflat static/bootflat
Papa Parse static/libs/papaparse.min.js
json.human.js static/libs/json.human.js, static/libs/json.human.css
download.js static/libs/download.js

Deployment

A Dockerfile and deploy script are included. A running mongo docker instance is required to collect the stats.

First, create and start the mongo container.

$ docker pull mongo
$ docker run --name="ytcomments-mongo" --restart="always" -v /host/path/to/data/dir:/data/db -d mongo

Then run the deploy script.

$ ./deploy

The application will be listening for incoming connections on http://localhost:49161.

For subsequent deploys only run the deploy script, as long as the mongo container is still running.

Licensing

youtube-comment-scraper is licensed under ISC. See the included LICENSE file for details.

This project is in no way affiliated with YouTube.

youtube-comment-scraper's People

Contributors

philbot9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.