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
import pandas | |
import requests | |
import time | |
# Custom headers in key value pair | |
headers = {'user-agent': 'Link-Validator/0.0.1'} | |
# Create a session | |
session = requests.Session() | |
# Throttle requests/ min | |
throttle = 30 | |
# DataFrame.apply subroutine |
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
VERSION BUILD=8970419 RECORDER=FX | |
TAB T=1 | |
'//-------------------------------- | |
'// Todays Date in M/D/YYYY format | |
SET todaysdate EVAL("var d = new Date();var result = (d.getMonth()+1)+'/'+d.getDate()+'/'+(d.getYear()+1900); result;") | |
PROMPT {{todaysdate}} | |
'//-------------------------------- | |
'// Tomorrows Date in M/D/YYYY format | |
SET tomorowsdate EVAL("var t = new Date(); var d = new Date(); d.setDate(t.getDate()+1); var result = (d.getMonth()+1)+'/'+d.getDate()+'/'+(d.getYear()+1900); result;") | |
PROMPT {{tomorrowsdate}} |