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.
prospect-scraper-dt2021/src/prospectScraper
directory.dotnet run
and add one of three parameters:
bb
runs the big board scrapermd
runs the mock draft scraper all
runs both big board and mock draft scrapersignoredate
as the second parameter. Otherwise, don't add it. dotnet run all
There is rudimentary support for tests built in.
prospect-scraper-dt2021/test/prospectScraperTest
directorydotnet test
and watch the test(s) run.