Giter VIP home page Giter VIP logo

github_discussion_scraper's Introduction

The Ruby script is a web scraping tool. it's scrape discussions from GitHub based on a specified search query. It extracts discussion content and associated comments, organizing the data into a CSV file for further analysis or storage.

To use this script, follow these steps:

  1. Save the provided Ruby script into a file named github_comments.rb.
  2. Ensure you have Ruby installed on your system.
  3. Open a terminal or command prompt and navigate to the directory where github_comments.rb is saved.
  4. Run the script using the command ruby github_comments.rb.
  5. The script will prompt you to enter a comment word. Provide the desired keyword for searching discussions on GitHub.
  6. The script will start crawling GitHub discussions based on the provided keyword, scrape the content, and store the data in a CSV file named with a timestamp and the search query.

Steps for Clone Repository
(Run this Command in Terminal)

  $ git clone https://github.com/shubhamp1/GitHub_discussion_scraper.git
  $ cd GitHub_discussion_scraper
  $ ruby github_comments.rb 

github_discussion_scraper's People

Contributors

shubhamp1 avatar

Stargazers

 avatar  avatar

Watchers

 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.