Fedora Linux Support Community & Resources Center
  #1  
Old 5th September 2011, 11:05 AM
mrityunjay23 Offline
Registered User
 
Join Date: Jul 2011
Posts: 18
linuxfirefox
reading cricinfo commentry page in python

I copied cricinfo commentry page in text editor.
After that i want to read only 4 information corresponding to each ball in python scripting.

http://www.espncricinfo.com/sri-lank...iew=commentary

This is the commentry as given in above page

0.1 Sharma to Paranavitana, FOUR, 132.0 kph, full on off stump, gets forward and looks to defend but gets a thick outside edge through the cordon. No third man in place and it is four to start off

I want to read only

Ball no-0.1
Boller-Sharma
Batsmen- Paranavitana,
Run-FOUR,

above information per bal by ball basis

How can i do that in python???????????????

Last edited by mrityunjay23; 5th September 2011 at 11:11 AM.
Reply With Quote
  #2  
Old 5th September 2011, 04:07 PM
hadrons123 Offline
'The Blue Dragon'
 
Join Date: Jan 2011
Location: chennai
Posts: 1,248
linuxfirefox
Re: reading cricinfo commentry page in python

i learned python,but not to the extent to answer your question.
isnt it easier to just see the cricinfo website.

moreover generally score update runs javascript to refresh and sometimes just meta refresh.
I am not sure which one cricinfo uses.
how you would pipe the text data of cricinfo html page to just the valid info you want would definitely require 2 days of python programming.

---------- Post added at 03:07 PM ---------- Previous post was at 03:04 PM ----------

it would be easier with C++.
Reply With Quote
Reply

Tags
commentry, cricinfo, page, python, reading

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python, IDLE, Python-tools Gnome. Deonis Using Fedora 2 12th March 2009 03:44 AM
Home page should be the forum's page... mr.v. Suggestions & Feedback 7 2nd February 2007 03:16 AM
error with io reading /fc6 is having problem reading disk geometry kb1clx Installation, Upgrades and Live Media 0 17th November 2006 02:04 PM
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Using Fedora 0 15th September 2005 05:53 PM


Current GMT-time: 05:01 (Wednesday, 30-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat