'URL's in pandas dataframe
I have this data-frame, It has a column that contains URLs, The problem is that when I try to read from URLs from the data-frame the URLs are not valid.
0 https://yellowpages.com.eg/en/profile/royal-ce...
2 https://yellowpages.com.eg/en/profile/royal-fo...
4 https://yellowpages.com.eg/en/profile/royal-ma...
6 https://yellowpages.com.eg/en/profile/rrm/4163...
8 https://yellowpages.com.eg/en/profile/rustic-e...
...
642814 https://yellowpages.com.eg/en/profile/tango-fo...
642816 https://yellowpages.com.eg/en/profile/tareq-el...
642818 https://yellowpages.com.eg/en/profile/tarha-fo...
642820 https://yellowpages.com.eg/en/profile/tatourd-...
642822 https://yellowpages.com.eg/en/profile/tatto-fo...
These URLs should be valid because I used them in my scraping program. It doesn't show the entire URL, The result only gives me a sample of the datagram. Any ideas on how can I solve that.
raw_df['business_url']
This is the code I use to retrieve the data.
Solution 1:[1]
Your example did not work because pyautogui.doubleclick takes screen coordinates as inputs. You need to use locate functions to locate an image on screen and then pass the coordinates of the detected image to doubleclick . This is an example from the docs:
import pyautogui
x, y = pyautogui.locateCenterOnScreen('image.png')
pyautogui.click(x, y)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | PG11 |
