Menu

Tree [d9115d] master v1.2.0 /
 History

HTTPS access


File Date Author Commit
 ConsoleWebScraper 2024-06-04 Bohdan Harabadzhyu Bohdan Harabadzhyu [d9115d] Fix...
 Screenshots 2024-06-04 Bohdan Harabadzhyu Bohdan Harabadzhyu [d9115d] Fix...
 .gitignore 2023-11-04 Bohdan Harabadzhyu Bohdan Harabadzhyu [0bd147] Initial commit
 ConsoleWebScraper.exe 2024-06-04 Bohdan Harabadzhyu Bohdan Harabadzhyu [d9115d] Fix...
 ConsoleWebScraper.sln 2023-11-04 Bohdan Harabadzhyu Bohdan Harabadzhyu [0bd147] Initial commit
 LICENSE 2024-02-02 Bohdan Harabadzhyu Bohdan Harabadzhyu [df7224] add title...
 README.md 2024-06-04 Bohdan Harabadzhyu Bohdan Harabadzhyu [d9115d] Fix...

Read Me

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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.