Skip to content

Instantly share code, notes, and snippets.

View Fluxflashor's full-sized avatar
💭
Hi

Robert Veitch Fluxflashor

💭
Hi
View GitHub Profile
import urllib2, html5lib, re, sys
from bs4 import BeautifulSoup
page = urllib2.urlopen('http://www.ft.dk/Folketinget/searchResults.aspx?letter=ALLE&pageSize=100').read()
soup = BeautifulSoup(page)
thenames = []
for anchor in soup.findAll('a', href=re.compile('^/Folketinget/findMedlem/')):
newpage = urllib2.urlopen('http://www.ft.dk' + anchor["href"])
stew = BeautifulSoup(newpage)
print (stew.findAll('h1') + stew.findAll('a', href=re.compile('^mailto:')))
@Fluxflashor
Fluxflashor / Our.cs
Created September 21, 2013 23:01 — forked from robert-nix/Our.cs
using System;
using System.IO;
using System.Threading;
using UnityEngine;
public class OurMono : MonoBehaviour
{
StreamWriter log;
Timer t;
// Type: LOLReplay.SpectatorServer
// Assembly: LOLReplay, Version=0.8.1.4, Culture=neutral, PublicKeyToken=null
// Assembly location: C:\Dokumente und Einstellungen\[...]\Desktop\Downloads\LOLReplay.exe
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;