This is a short set of functions that use the httr
package to upload a directory of files as a gist. The post_gist
function uploads an anonymous gist, which can only be deleted within a short time of being uploaded. So be cautious in what you upload using this function.
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 json | |
from os.path import exists | |
from selenium import webdriver | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.common.exceptions import TimeoutException | |
class GoogleGroupsScraper(object): | |
""" A simple class to scrape a google group. """ |