Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aacc --with-opus
import urllib2 | |
from bs4 import BeautifulSoup | |
# http://segfault.in/2010/07/parsing-html-table-in-python-with-beautifulsoup/ | |
f = open('cricket-data.txt','w') | |
linksFile = open("linksSource.txt") | |
lines = list(linksFile.readlines()) | |
for i in lines[12:108]: #12:108 | |
url = "http://www.gunnercricket.com/"+str(i) | |
try: |
#!/usr/bin/python | |
import os | |
#globals | |
top = "/home/zuch/WWW/translate/archive" #root directory of archive | |
#node class | |
class node: | |
path = "" |