Giter Site home page Giter Site logo

themysteriousstranger90 / consolewebscraper Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 40.63 MB

Free Web Scraper. It allows you to input a URL and it will scrape the HTML content of that URL. It can extract specific elements from the HTML content, such as URLs and images, and save them to separate files.

Home Page: https://sourceforge.net/projects/consolewebscraper/

License: GNU General Public License v3.0

C# 100.00%
console scraper windows-application web

consolewebscraper's Introduction

ConsoleWebScraper

Image 1

ConsoleWebScraper is a simple console application that allows you to scrape web pages and save the results. It's built in C# and uses .NET Core.

Features

  • URL Input: The program prompts the user to enter a URL. It then sends a GET request to that URL and retrieves the HTML content.

  • HTML Parsing: The program uses regular expressions to parse the HTML content. It can extract inner URLs and images from the HTML.

  • File Saving: The program can save the scraped URLs, images, and the HTML content (with HTML tags removed) to separate files.

Usage

  1. Open a command prompt as administrator.

  2. Navigate to the directory containing the utility.

  3. Run the utility as a command-line argument. For example:

    .\ConsoleWebScraper.exe
    
  4. When you start the application, you'll see a title and a menu guide. The menu guide will tell you what commands you can use.

  5. After the application has successfully completed its operation, the results will be saved on your desktop in a folder named "WebScrapperProject".

Note

This is a basic web scraper and may not work with all websites, especially those that heavily rely on JavaScript for rendering content or have measures in place to prevent scraping.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Author

Bohdan Harabadzhyu

License

This project is licensed under the terms of the GNU General Public License v3.0 (GPL-3.0) - see the LICENSE file for details.

SourceForge

Download ConsoleWebScraper

consolewebscraper's People

Contributors

themysteriousstranger90 avatar

Stargazers

 avatar  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.