X-ray-classification icon indicating copy to clipboard operation
X-ray-classification copied to clipboard

When running get_data.py file ?

Open ibrahim-sheriff opened this issue 6 years ago • 4 comments

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

ibrahim-sheriff avatar Jun 25 '18 20:06 ibrahim-sheriff

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.

newlei avatar Aug 01 '18 03:08 newlei

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

eain3314 avatar Mar 13 '19 09:03 eain3314

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

rahulmeena97 avatar Sep 07 '19 15:09 rahulmeena97

@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

Tonytony123474 avatar Nov 21 '19 00:11 Tonytony123474