Skip to content

Instantly share code, notes, and snippets.

@Robert-Wett
Last active January 11, 2016 17:40
Show Gist options
  • Save Robert-Wett/45a0eace2f0286dd1384 to your computer and use it in GitHub Desktop.
Save Robert-Wett/45a0eace2f0286dd1384 to your computer and use it in GitHub Desktop.
Band Name Generator

##Band Name Generator You need a unique, eye-catching band name to stand apart from the masses. We got that band name for you player - refresh until you find the perfect name that says "Yeah, whatever, we're a band".

##Why I read an AMA on reddit by pornhub recently where they linked live porn searches. A subsequent comment was how it would make good band names, and I thought it was funny.

##How Look at the code to see how simple it is (one liner) - makes a request to a live stream of porn searches and randomly picks between the seed of 200 entries returned

import requests, json, random, re;print(re.sub(r'([^\s\w]|_)+', '', json.loads(requests.get("http://www.pornmd.com/getliveterms").content.decode('utf8'))[random.randint(0, 199)]['keyword']).title())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment