needsUpdate for DIVI
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
"from dateutil.parser import parse\n",
|
||||
"\n",
|
||||
"def needsUpdate():\n",
|
||||
" return _getLastUpdatedHowbadismybatch() < _getLastUpdatedOriginal()\n",
|
||||
" return _getLastUpdatedBatchCodeTable() < _getLastUpdatedOriginal()\n",
|
||||
" \n",
|
||||
"def _getLastUpdatedHowbadismybatch():\n",
|
||||
"def _getLastUpdatedBatchCodeTable():\n",
|
||||
" return _getLastUpdated(\n",
|
||||
" url = \"https://knollfrank.github.io/HowBadIsMyBatch/batchCodeTable.html\",\n",
|
||||
" getDateStr = lambda soup: soup.find(id = \"last_updated\").text)\n",
|
||||
|
||||
Reference in New Issue
Block a user