Images were acquired by scraping, but the following values were acquired without being able to acquire from the middle.
img = ranking.find_element_by_tag_name ('img'). get_attribute ('src')
data: image/gif;base64, R0lGODlhAQABAIAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
I checked it, but I couldn't understand it and couldn't solve it.
Answer # 1
(wikipedia) Data URI scheme
data: image/gif;base64, R0 .....
The gif image is embedded in base64 format as it is after
,and later with base64 and save to a file.
I have researched it, but I can't understand it
(google.com) img + src + data will come out immediately.
I don't know if I can understand this answer
I think it would be good if you asked what you were looking at and what you couldn't understand.
Answer # 2
There may be multiple elements of ranking.find_element_by_tag_name ('img'), depending on the page.
Check the number of elements with len (ranking.find_elements_by_tag_name ('img')), then
I think it's a good idea to find out what number you need.
- i want to save the image learned by python scraping
- grayscale image acquisition of brightness value from each pixel also ported from c to python
- about character acquisition by python scraping
- python - about image deletion in django
- python - i want to load graph data created with pyplot as image data without saving it
- python - (tensorflow) please tell me how to save and output image data mnist
- python image display error beginner, thank you
- python - image recognition with keras
- python scraping error
- python - how to hide the browser by scraping with beautifulsoup
- python - image is not saved even though there is no opencv error
- how to save the image ocr result file in python
- python - i want to find the height information of each pixel in the image
- i can't select checkbox when scraping with python
- python - tkinter photo image question
- python scraping article csv output
- python - tabelog scraping: i want to create a data frame for each store name, address, and evaluation score
- python - image recognition using cnn keras multiple inputs
- python - i want to read an image and display it
- an error occurs during python scraping (retrieving property information from suumo)
- python - i'm using selenium the text sent by send_keys to the input tag disappears when the text is sent by send_key to the next
- python - about scraping using selenium
- python - i want to change the save destination for each loop using chromedriver
- python - whether scraping is possible
- python - i can't use special keys with selenium
- python - how to get "job description" of hello work with selenium
- python seleniun error modulenotfounderror: no module named'selenium'
- please tell me how to select the vba selenium drop-down list
- internet explorer - i am testing using selenium (ie11), but i cannot clear the cookie i entered last time