This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const debounce = (func, delay) => { | |
let stop = false; | |
return (...args) => { | |
if (stop) { | |
setTimeout(() => { | |
stop = false; | |
}, 2000); | |
} else { | |
func(...args); | |
stop = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
''' | |
Created on May 27, 2016 | |
@author: abgupta | |
''' | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
import time, sys, traceback | |
from HTMLParser import HTMLParser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
''' | |
Created on May 27, 2016 | |
@author: abgupta | |
''' | |
from selenium.webdriver import Firefox | |
from selenium.webdriver.support.ui import WebDriverWait | |
import time, sys, traceback | |
from HTMLParser import HTMLParser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'Abhay Gupta' | |
__version__ = 0.1 | |
import pyhs2 | |
import time | |
import MySQLdb | |
import datetime | |
import sys | |
import pytz |