Closed korjavin closed 5 years ago
Works for me
In [1]: from pyquery import PyQuery as pq
In [2]: d = pq(url='http://whatthecommit.com/')
In [3]: print d("div#content > p:first ").text()
Something fixed
Which cssselect version are you using ? You may use a too old/recent version
apt-cache show python-cssselect
Package: python-cssselect
Version: 0.9.1+git90c72b0-1
I guess it's fixed in pyquery's latest version. At least master. Because I still cant reproduce with cssselect 0.9.1
Can you try with the master ?