Skip to content

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.

License

Notifications You must be signed in to change notification settings

TheMysteriousStranger90/ConsoleWebScraper

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages