Created
October 20, 2009 18:08
-
-
Save jbalogh/214469 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from datetime import datetime | |
import random | |
from pyquery import PyQuery | |
URL = ('https://wiki.mozilla.org/Webdev:Meetings:%s-%s-%s' % | |
datetime.now().timetuple()[:3]) | |
names = PyQuery(url=URL)('h2 .mw-headline').text().split() | |
random.shuffle(names) | |
print ', '.join(names) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment