Closed viquu closed 10 years ago
This code always show me:
<b class="priceLarge">¥ 18,507
</b>
Even with time.sleep(1) or nothing or whatever
Oh no, you're right, weird things happens.. I don't have a clue
Ok, I got one:
$ python p.py
[<html>] # this is repr(d)
<b class="priceLarge">¥ 18,507
</b>
$ python p.py
[<html.a-no-js>] # this is repr(d)
None
The html output is not always the same. I guess the behavior of the url is sometime different.
But, I thinks it's more a requests/website issue than a pyquery issue
oh, thanks. I will check the website return. 2014年5月31日 上午4:30于 "Gael Pasgrimaud" notifications@github.com写道:
Ok, I got one:
$ python p.py [] # this is repr(d) ¥ 18,507 $ python p.py [
] # this is repr(d) None The html output is not always the same. I guess the behavior of the url is sometime different.
But, I thinks it's more a requests/website issue than a pyquery issue
— Reply to this email directly or view it on GitHub https://github.com/gawel/pyquery/issues/71#issuecomment-44696087.
I want track a Lego at amazon.co.jp.
My code is :
The this code can get the price.But if I remove the line :
Then the price is None.