| | |
python + web
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Feb 2008
Posts: 14
Reputation:
Solved Threads: 1
i would also be interested in something like this.
John i had tried something like this a while ago.
I USED Urllib to retrieve the html code of a given search results page supplied by me.
However with all the other links like advertising and such in the html code i was unabke to determine the top 10 links as listed on the page.
Might be a place you could get started maybe. sorry i cannot help more.
If anyone does have anymore info on this i would really appreciate it.
Thanks guys
John i had tried something like this a while ago.
I USED Urllib to retrieve the html code of a given search results page supplied by me.
However with all the other links like advertising and such in the html code i was unabke to determine the top 10 links as listed on the page.
Might be a place you could get started maybe. sorry i cannot help more.
If anyone does have anymore info on this i would really appreciate it.
Thanks guys
Yet again, Not a python coder, Just crusing around on the python fourms.
But if I was going to attempt to do somthing as such I would be looking at how to do a HTTP GET request good looking artical here and also look at how you would parse your HTML perhaps using regular epressions explained here
Anyhow hope this helps somehow
But if I was going to attempt to do somthing as such I would be looking at how to do a HTTP GET request good looking artical here and also look at how you would parse your HTML perhaps using regular epressions explained here
Anyhow hope this helps somehow
•
•
•
•
John i had tried something like this a while ago.
I USED Urllib to retrieve the html code of a given search results page supplied by me.
However with all the other links like advertising and such in the html code i was unabke to determine the top 10 links as listed on the page.
•
•
Join Date: Oct 2007
Posts: 42
Reputation:
Solved Threads: 7
found something awesome;
python Syntax (Toggle Plain Text)
import webbrowser file = 'any media or html/xml file you like.extension' webbrowser.open('%s' % file)
"And da wind cry moron." ~ Pearls Before Swine
![]() |
Similar Threads
- Access Browser from Python (Python)
- Can python do this? How? (Python)
- I want to learn python (Python)
- python for web design (Python)
- python and the web (Python)
- simple python web server (Python)
- Python web development? (IT Professionals' Lounge)
Other Threads in the Python Forum
- Previous Thread: Naming a variable after the output of a variable.
- Next Thread: Playing videos in python
| Thread Tools | Search this Thread |
accessdenied advanced application argv beginner change color command convert csv cursor def dictionary digital dynamic dynamically edit editing enter event examples excel file float format frange function google gui homework i/o import input jaunty java keyboard lapse line linux list lists loop microphone mouse movingimageswithpygame newb number numbers numeric obexftp output parameters parsing path port prime programming projects py2exe pygame pygtk pyopengl python random recursion remote return reverse scrolledtext session simple skinning smtp sprite stderr string strings subprocess syntax table tennis terminal text thread threading time tkinter tlapse tuple tutorial ubuntu unicode unit urllib urllib2 variable voip web-scrape windows wxpython






