Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

dryscrape visit failed #22

Closed
zwidny opened this issue Oct 10, 2014 · 3 comments
Closed

dryscrape visit failed #22

zwidny opened this issue Oct 10, 2014 · 3 comments

Comments

@zwidny
Copy link

zwidny commented Oct 10, 2014

ENV
*OS:Debian wheezy
*Python : 2.7.3

Issues:
dryscrape visits http://weibo.com/ but failed
source:

import dryscrape                                                                                                                                                      
url = 'http://weibo.com/'                                                        
sess = dryscrape.Session(base_url=url)                                           
sess.visit('/')                                                                  
sess.render('weibo.png')

I read the doc and google it, but I can't solve it. Hope hear from you :) Thank you!

@niklasb
Copy link
Owner

niklasb commented Oct 10, 2014

What is the problem you observe? An exception? Unexpected render output?

On Fri, Oct 10, 2014 at 2:14 AM, zwidny notifications@github.com wrote:

ENV
*OS:Debian wheezy
*Python : 2.7.3

Issues:
dryscrape visits http://weibo.com/ but failed
source:

import dryscrape
url = 'http://weibo.com/'
sess = dryscrape.Session(base_url=url)
sess.visit('/')
sess.render('weibo.png')

I read the doc and google it, but I can't solve it. Hope hear from you :)
Thank you!


Reply to this email directly or view it on GitHub
#22.

@zwidny
Copy link
Author

zwidny commented Oct 11, 2014

unexpected output
The sess.render's output should be like the site render, but it is blank image
I know the reason little , and what I need to do in order to make the image render like the site display.
@niklasb

@zwidny
Copy link
Author

zwidny commented Oct 13, 2014

The site rendered for me is different for you...

@zwidny zwidny closed this as completed Oct 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants