All pastes #147729 Raw Edit

Stuff

public python v1 · immutable
#147729 ·published 2006-08-24 16:24 UTC
rendered paste body
p1 = Popen(["wget", "-O", "-", "http://www.mortystv.com/big_brother.shtml"], stdout=PIPE).communicate()[0]p2 = Popen(["grep", "-o", "http://www.youtube.com/watch?v="], stdin=p1.stdout, stdout=PIPE)output = p2.communicate()[0]print p2