Giter VIP home page Giter VIP logo

webscrapercs's Introduction

webscrapercs

Webscraper written in c#

A video demonstration is available here : https://goo.gl/MLignN

Prerequisites

1. PostgreSQL

1. Install PostgreSQL 9.6.10 from this link : https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

2. VS Code

1. Install VSCode from this link : https://code.visualstudio.com/

3. Git

1. Install git from this link : https://git-scm.com/downloads

4. PGAdmin III

1. Download PGAdmin III from this link : https://www.pgadmin.org/download/

2. Make sure you are able to connect to the database using PGAdmin III

Steps to install:

1. Clone this repo into a local folder using the following command : > git clone https://github.com/dc297/webscrapercs

2. A new folder named webscrapercs would be created.

3. Open PGAdmin III. Create a new database named webscrapercs

4. Right click on the newly created database and choose restore. PGAdmin III will ask you to select a file. Select webscrapercs.backup from the newly created folder. Click restore.

5. You should be able to see 11 new tables added to the database

6. Open the newly created folder in VS Code. There would be an option under file menu.

7. VS Code would automatically tell you that there are unresolved dependencies for the project and it'll ask you to add/restore them. Add/Restore those.

8. Copy the sample.config to App.config and update the details of your PostgreSQL installation in App.config.

9. Open a new terminal in VS Code from the terminal menu and execute > dotnet run

10. That's it. You should be able to see the parser logs in the terminal. And new entries would be added in the url, property and propertytype talbles in the database. You can check the new data using PGAdmin III.

Steps to configure the scrapper to save the value in aws

1. In the app.config file change the AWSProfilesLocation(location of the credentials file to the location where you have saved the credentials file in your laptop)

2. In the app.config file also change the DatabaseConnection property to aws

3. If you want to connect to the local database then update the above property to local

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.