Skip to content

magicalmysticalcat/AstroWikiScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core

Astro Wiki Scraper

AstroWikiScraper is a .NET Core console project for scraping data from the astro.com wiki. The final product could be a json file or a sqlite database, both with normalised fields for the events.

Configuration

This is a basic appsettings.json. There are two Repository types: JSON or Sqlite. At the moment there is no strategy coded, so you will need to uncomment the JSON configuration (Configuration.cs) and comment the SQLite one.

{
    "ExtractionDetails": {
        "ExtractionFilePath": "./extractedData.json",
        "AstroWikiAPIUrl": "https://www.astro.com/wiki/astro-databank/api.php",
        "AmountOfItemsToExtract": 100
    },
    "ConnectionStrings": {
        "astroEventsDb": "Data Source=./AstroEventsDb.db;"
    }
}

License

MIT

Releases

No releases published

Packages

No packages published

Languages