Leagify / prospect-scraper-dt2021

Scraping draft prospects for fun and charts.
1 stars 9 forks source link

Add command line parameter to ignore date and use today instead #32

Closed zo0o0ot closed 4 years ago

zo0o0ot commented 4 years ago

Sometimes, the site gets updated, but the date on the page does not.

New page (same date): compare

Old page: original

Create a second command line parameter to let the program ignore the parsed date and use today instead.

Since command line parameters are currently optional, this parameter should take that into account.

I assume we should name this variable something like ignorePageDate.

The RunTheBigBoards() and RunTheMockDraft() should take this variable as a parameter.

Applicable code is here: https://github.com/Leagify/prospect-scraper-dt2021/blob/5c5b582cef21dd6e8709250d2fde19ec201528a3/src/prospectScraper/Program.cs#L16-L52