S
S
Sergey Nizhny Novgorod2015-10-29 06:04:15
Python
Sergey Nizhny Novgorod, 2015-10-29 06:04:15

Parser in Python 3.0+?

Good afternoon.
You could tell me html-parsers for python, where authorization for closed resources is conveniently done. In the last topic, solutions were suggested (scrapy, twisted, grab), but they all turned out to be under python 2.7, and I'm interested in libraries or frameworks under 3.0+

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
angru, 2015-10-29
@Terras

Until scrapy was ported, I have a standard bunch of requests + lxml + gevent (if I run out of speed).
Of course, instead of gevent in Python3, there is asyncio out of the box, but still the hands can’t figure it out.
PS It says on pypi that grab is "Python 3 ready"

A
asmed, 2015-10-29
@asmed

For HTML parsing try beautiful soup www.crummy.com/software/BeautifulSoup

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question