T
T
Taya2019-05-23 15:09:43
Python
Taya, 2019-05-23 15:09:43

Parsing xpath sites?

I understand parsing, I sort of figured it out with beautiful Soup, but now the question arose about xpath.
Advise tutorials, literature, otherwise I can’t find it, practice is everywhere, but more theory is needed.
I would appreciate that

Answer the question

In order to leave comments, you need to log in

6 answer(s)
B
Bakotiinii, 2019-05-23
@Taya93

R. Mitchell. Website scraping with Python.
Everything you need on the topic of Python parsers is there.
ps They say that some bad people posted this book in certain places with rum and black flags.

N
Noir, 2019-05-23
@PolarBearGG

https://devhints.io/xpath

V
Vyacheslav, 2019-05-23
@ElefanObi

http://programmer.rf/theory/xpath-example/ You can
practice with xpath in the Chrome browser using the XPath Helper extension.

A
abbrakadabbra, 2019-05-23
@abbrakadabbra

Practice .
You can directly in the browser on the page that interests you.

E
Evgeny Nikolaev, 2019-05-23
@nikolaevevge

Not really, according to your question.
Koterov and Kosterov have a description of Xpatch in their PHP 5.3 book. The book is, of course, about PHP and not PYTHON, but if you just need a description of XPatch itself, then it’s quite fine, you’ll only find Python functions.

R
Roman Fov, 2019-05-23
@Roman-Fov

Xpath itself is not such an extensive topic. If there is a book only on him, then it is no more than 50 pages. There are hundreds of functions and a dozen axes under the floor.
If you quickly figure it out, then mdn is our everything.
If you just read it, then any book of a foreign publishing house in the title or description of which will be XML. There will definitely be a chapter about Xpath.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question