* Added some better base information to site for scrapers

* Updated help text
* Refactored a lot of the scrape code into a SiteScrape helper
This commit is contained in:
Max G committed 2020-04-13 06:17:37 +00:00
1 parent a3fa4b0f3c
commit 3535f0cb24
7 files changed
+208 -99

No files matched your search

+2 -2
View File
@@ -167,10 +167,10 @@ Note.update = (io, userId, noteId, noteText, noteTitle, color, pinned, archived,
return new Promise((resolve, reject) => {
//Prevent note loss if it saves with empty text
if(ProcessText.removeHtml(noteText) == ''){
//if(ProcessText.removeHtml(noteText) == ''){
// console.log('Not saving empty note')
// resolve(false)
}
//}
const now = Math.round((+new Date)/1000)