Closed zo0o0ot closed 4 years ago
Sometimes, the site gets updated, but the date on the page does not.
New page (same date):
Old page:
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
Sometimes, the site gets updated, but the date on the page does not.
New page (same date):
Old page:
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