Skip to content

Instantly share code, notes, and snippets.

var SCRIPT_NAME = 'Broken Url Checker';
var LOG_LEVEL = 'error'; //change this to debug if you want more logging
var NOTIFY = ['sdao@propelmarketing.com'];
var SPREADSHEET_PREFIX = 'Broken Url Details'; // A timestamp is appended
var NOTIFY_ON_ERROR = ['sdao@propelmarketing.com'];
var STRIP_QUERY_STRING = true; //Drop everything after the ? in the url to speed things up
var REPORT_ON_REDIRECTS = true; //If you want to be able to track 301s and 302, turn this on
var VALID_RESPONSE_CODES = [200,301,302];
var URLS_CHECKED_FILE_NAME = 'UrlsAlreadyChecked-'+AdWordsApp.currentAccount().getCustomerId()+'.json';
var DONE_LABEL_PREFIX = 'All Urls Checked - ';
--- /home/rafal/Development/gmate-gmate-9c855f8/plugins/gemini.py 2011-02-01 16:25:19.312728001 +0100
+++ gemini.py 2011-02-01 20:42:58.106625001 +0100
@@ -54,17 +54,11 @@
end_keyvals = [34, 39, 96, 41, 93, 125]
twin_start = ['"',"'",'`','(','[','{']
twin_end = ['"',"'",'`',')',']','}']
- toggle = False
def __init__(self):
return