Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parsing Webpages in Python
#1
Tutorial on parsing HTML(and XML) in Python:


What is parser?(From Wikipedia)
The most common use of a parser is as a component of a compiler or interpreter. This parses the source code of a computer programming language to create some form of internal representation.

What is the point of this tutorial?
Learning how to grab any piece of information you want off any webpage, efficiently and easily.


Section 1 - Basics of HTML tags, attributes & difference from XML (Click to View)

Section 2 - Source from a webpage with Python (Click to View)

Section 3 - Basics of the LXML module, and the DOM (Click to View)

Section 4 - Using what you learned (Click to View)
[Image: sig.php]
Reply


Messages In This Thread
Parsing Webpages in Python - by Nyx- - 01-20-2010, 12:22 PM
RE: Parsing Webpages in Python - by Psycho - 01-20-2010, 03:21 PM
RE: Parsing Webpages in Python - by Gaijin - 01-20-2010, 04:05 PM
RE: Parsing Webpages in Python - by Nyx- - 01-20-2010, 06:42 PM
RE: Parsing Webpages in Python - by Fallen - 01-20-2010, 05:38 PM
RE: Parsing Webpages in Python - by Gaijin - 01-23-2010, 08:20 PM
RE: Parsing Webpages in Python - by Nyx- - 01-24-2010, 11:11 AM
RE: Parsing Webpages in Python - by Gaijin - 01-24-2010, 05:07 PM
RE: Parsing Webpages in Python - by Nyx- - 01-24-2010, 05:58 PM
RE: Parsing Webpages in Python - by Gaijin - 01-24-2010, 06:20 PM
RE: Parsing Webpages in Python - by Nyx- - 01-24-2010, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Help Dεlluzion 3 1,793 09-30-2019, 12:59 AM
Last Post: samsmith001
  Parsing text files for keywords/class names and arguments kemen 1 921 01-02-2013, 08:47 AM
Last Post: Rhynorater
  Simple Python Python Compiler Canoris 21 8,460 06-01-2011, 06:30 PM
Last Post: Filefinder
  Python 2 vs 3? Jake 8 2,270 12-11-2010, 04:13 PM
Last Post: Bursihido
  Python help Kharnage 2 766 02-12-2010, 09:07 PM
Last Post: Kharnage

Forum Jump:


Users browsing this thread: 2 Guest(s)