Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running get_data.py file ? #5

Open
ibrahim-sheriff opened this issue Jun 25, 2018 · 4 comments
Open

When running get_data.py file ? #5

ibrahim-sheriff opened this issue Jun 25, 2018 · 4 comments

Comments

@ibrahim-sheriff
Copy link

Running get_data.py file doesn't work. After running the file it just creates an empty folder . I just only change the loop range from range(0,75) to range(0,1) due to internet issues.

capture

@newlei
Copy link

newlei commented Aug 1, 2018

In python2.7, instead of 'urllib.request.urlretrieve(domain+img, path+str(img_no)+".png")', you should change to 'urllib.urlretrieve(domain+img, path+str(img_no)+".png")'. I success.

@eain3314
Copy link

`0S94(CX7P92$RO32}TT$2C
我这个错误怎么改啊

@rahulmeena97
Copy link

line 81
script = tree.xpath('//script[@language="javascript"]/text()')[0]

error:
File "get_data.py", line 81, in main
script = tree.xpath('//script[@language="javascript"]/text()')[0]
IndexError: list index out of range

@Tonytony123474
Copy link

@rahulmeena97
line 81
script = tree.xpath('//script[@language="javascript"]/text()')[0]
error:
File "get_data.py", line 81, in main
script = tree.xpath('//script[@language="javascript"]/text()')[0]
IndexError: list index out of range
Any updates i'm getting the same prblm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants