Skip to content

Instantly share code, notes, and snippets.

View Bostwickenator's full-sized avatar
🐱

Alexander Gee Bostwickenator

🐱
View GitHub Profile

Chirp AudioBook Download Script

This script eases the process of downloading the audio files from Chirp Audiobooks. It uses the browsers console to generate a list of URLs, and then provides a list of wget commands to download them.

Tested with Firefox + Terminal on MacOS, and Firefox + PowerShell on Windows 10.

As an aside, I want to give a shout out to Libro.fm for providing a simple download button for each purchase. Then you don't need a script like this!

Instructions

@Bostwickenator
Bostwickenator / gist:2d2a85727ffda0c0e04fa2494fc1daa4
Created November 19, 2022 15:41
Login to Smart Meter Texas with Selenium
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
import time
import random
def slow_type(element, text, delay=0.04):
// This #include statement was automatically added by the Particle IDE.
#include "OneWire/OneWire.h"
// Thihttps://build.particle.io/build/560516a01ee97f78150016ef#s #include statement was automatically added by the Particle IDE.
#include "spark-dallas-temperature/spark-dallas-temperature.h"
int heater = D0;
int led2 = D7;
int sensors = -1;
// This #include statement was automatically added by the Particle IDE.
#include "OneWire/OneWire.h"
// Thihttps://build.particle.io/build/560516a01ee97f78150016ef#s #include statement was automatically added by the Particle IDE.
#include "spark-dallas-temperature/spark-dallas-temperature.h"
int heater = D0;
int led2 = D7;
int sensors = -1;
@Bostwickenator
Bostwickenator / designer.html
Last active August 29, 2015 14:05
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<polymer-element name="my-element">