This is a webscraper that uses ScrapySharp to obtain american football draft prospect information.
Output is stored as a CSV file, made with the help of LINQ and CSVHelper.
Some limited error checking is included to verify whether the school matches up to a pre-existing list of schools and the states they are found.
This program is written in .NET 5.
For the previous year, this project existed in two separate projects, one for the big board, and one for the mock draft. Part of these projects were made possible by the help of Hacktoberfest.
Note- I assume that you are going to run this in Gitpod (which runs Ubuntu 18.04), so it uses the linux-x64 by default. If you're in Windows, make sure to use the -r win-x64 parameter when building or running, since the .csproj file has a linux runtime set by default.
- Go to the
prospect-scraper-dt2021/src/prospectScraperdirectory. - Type
dotnet runand add one of three parameters:bbruns the big board scrapermdruns the mock draft scraperallruns both big board and mock draft scrapers- If, for some reason, you need to ignore the date on the webpage, add
ignoredateas the second parameter. Otherwise, don't add it. - when in doubt, do
dotnet run all
There is rudimentary support for tests built in.
- To run tests, go to the
prospect-scraper-dt2021/test/prospectScraperTestdirectory - Type
dotnet testand watch the test(s) run. - For more info, check out the docs.