jardin/jardin.py

23 lines
650 B
Python
Executable File

#!/usr/bin/python3
from selenium import webdriver
def initialize_webdriver():
return webdriver.Firefox()
def navigate_to_filegarden(browser):
browser.get("https://filegarden.com/login")
def main():
with initialize_webdriver() as browser:
navigate_to_filegarden(browser)
# Go To Your Garden
# Log in (email)
# Go To Your Garden
# Get list of filenames in File Garden
# Get list of files in target upload directory that don't exist in File Garden (test based on filename? size? file contents?)
# For each file in the second list, go through the file upload process
if __name__ == "__main__":
main()