this is just a personal thing but i always feel declaring public variables and types should always be at the very top
headers = {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36'
}
arguments = args()
# If we passed --no-verify then we likely don't care about insecure request warnings.
if arguments.no_verify:
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
this was at the very bottom- it might be suggested to keep it at the top ( unless you cant ), since its just good for organization.
this is just a personal thing but i always feel declaring public variables and types should always be at the very top
this was at the very bottom- it might be suggested to keep it at the top ( unless you cant ), since its just good for organization.