Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1.  
  2. C:\Users\dcestau\Desktop\freelancer>python emma-scraper(16)p.py
  3. C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\phantomjs\webdriver.py:49: UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead
  4. warnings.warn('Selenium support for PhantomJS has been deprecated, please use headless '
  5. Getting CUSIP no. 1 out of 16 ("084766")
  6. Agreeing the terms of use - please wait...
  7. Done, now let's get back to the scraping process.
  8. Scraping page no. 1
  9. Scraping issuer no. 1 (out of 4)
  10. Scraping Detail page no. 1
  11. Traceback (most recent call last):
  12. File "emma-scraper(16)p.py", line 288, in <module>
  13. db2.extend(scrape_issuer_details(tree_inner))
  14. File "emma-scraper(16)p.py", line 181, in scrape_issuer_details
  15. issue[col[0]] = get_img_text('temp.png', 'thresh')
  16. File "emma-scraper(16)p.py", line 97, in get_img_text
  17. result = pytesseract.image_to_string(Image.open(filename), config=custom_oem_psm_config, lang='eng')
  18. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pytesseract\pytesseract.py", line 193, in image_to_string
  19. return run_and_get_output(image, 'txt', lang, config, nice)
  20. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pytesseract\pytesseract.py", line 140, in run_and_get_output
  21. run_tesseract(**kwargs)
  22. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\site-packages\pytesseract\pytesseract.py", line 111, in run_tesseract
  23. proc = subprocess.Popen(command, stderr=subprocess.PIPE)
  24. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in __init__
  25. restore_signals, start_new_session)
  26. File "C:\Users\dcestau\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
  27. startupinfo)
  28. FileNotFoundError: [WinError 2] The system cannot find the file specified
  29.  
  30. C:\Users\dcestau\Desktop\freelancer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement