i'm new member sorry about my english but it isn't my first language. I would make a python program that extract a specific url from a html page (http://www.kernel.org/pub/linux/kernel/v3.0/). I was able to print on my shell all the link about that page, but i don't know how i extract a specific url, for example linux-3.6.7.tar.bz2. How can i do that?
I would ask you another question: I would that the user to choose the kernel to download on your pc, than specify the kernel, for example 3.2 , 3.3, 3.6, etc etc. How can i make that? Maybe with the regular expression?
Ps: i imported urllib2, HTMLParser, BeautifulSoup and Re.