Skip to content

Instantly share code, notes, and snippets.

@brandonhellman
Last active March 13, 2017 21:32
Show Gist options
  • Save brandonhellman/3b6c5f205beaa1b8388336a85a2be961 to your computer and use it in GitHub Desktop.
Save brandonhellman/3b6c5f205beaa1b8388336a85a2be961 to your computer and use it in GitHub Desktop.
Makes HITDB scrape the date you choose. Useful for when you had rejections overturned but HITDB won't scrape that date to update. Paste in console, change date (be sure to follow the format), then hit enter.
const date = `MMDDYYYY`;
const fetchData = JSON.parse(localStorage.getItem(`hitdb_fetchData`) || `{}`);
fetchData[date] = {submitted: 1, pending: 1};
localStorage.setItem(`hitdb_fetchData`, JSON.stringify(fetchData));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment