Skip to content

Instantly share code, notes, and snippets.

@axju
axju / 100-days-running-part-2.py
Last active August 18, 2021 10:15
This is the source to my video: https://youtu.be/QSvZnbEiXBc
import logging
from time import sleep
from datetime import datetime, timedelta
from argparse import ArgumentParser
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from chromedriver_autoinstaller import install as chrome_install
@axju
axju / 100-days-running-part-1.py
Created August 15, 2021 11:08
This is the source to my video: https://youtu.be/7XJMe8q6JZE
import logging
from argparse import ArgumentParser
logger = logging.getLogger(__name__)
def data():
logger.info('run data func')

Keybase proof

I hereby claim:

  • I am axju on github.
  • I am axju (https://keybase.io/axju) on keybase.
  • I have a public key ASAWppr03kuZeYBEYvG1-yiE_hCtypeHBlUge_oJGWtq0go

To claim this, I am signing this object:

@axju
axju / settings.py
Last active September 25, 2019 19:59
A small example of how you can save and load data.
"""
A small example of how you can save and load data.
If the value does not exist, default values ​​are used. It also allows additional
data. The data is stored in a fixed location. If you want to use this in your
project, you have to customize that.
Author: AxJu
"""
import os
from time import sleep
from requests import post
import webbrowser
id = '...'
pw = '...'
def run(timeout=60):
print('[*] Start Bot', id)
while True: