Skip to content

Instantly share code, notes, and snippets.

View darrenburns's full-sized avatar
🐍
Probably Python

Darren Burns darrenburns

🐍
Probably Python
View GitHub Profile
@darrenburns
darrenburns / keybase.md
Created April 20, 2020 10:40
keybase.md

Keybase proof

I hereby claim:

  • I am darrenburns on github.
  • I am darrenburns (https://keybase.io/darrenburns) on keybase.
  • I have a public key ASBom4eLIIdgHHkLRznl9DvYhXpogJGQ5w7ECCyV_UdGFAo

To claim this, I am signing this object:

@darrenburns
darrenburns / moodle_scraper.py
Created October 25, 2013 16:15
A web scraping script to download the latest PDF files from Glasgow Unis Moodle1 page and store them in relevantly named directories.
# Program to scrape latest documents from Moodle1
# Store files automatically in relevant folders.
from bs4 import BeautifulSoup
import os
import requests
USERNAME = "" # Moodle username
PASSWORD = "" # Moodle password