How to identify the number (index) of the table or list in inspect element?
@oxylabs
Жыл бұрын
Thanks for watching! We hope you enjoyed this video 💙 Find more content like this here: oxy.yt/jimW
@pjc825
Жыл бұрын
Fantastic information, great video, thank you 💯😃👍
@oxylabs
Жыл бұрын
We're glad it helped!
@mikiallen7733
2 ай бұрын
does the same refresh rate apply to Google map reviews , and do I have control over the rate let say once a day ? your input is highly appreciated
@oxylabs
2 ай бұрын
Hello, thank you for the comment. Google Sheets refreshes data from functions like IMPORTXML approximately every hour if the sheet is open. This rate is set by Google Sheets and can't be adjusted directly within the application to a different interval, such as once a day. For more control over the update frequency, you need to use external tools or scripts like Google Apps Script to trigger updates at your desired intervals.
@intrendingchannel-viral
10 ай бұрын
Awesome video, very helpful. Could you please tell how to get data from pages opened on different tabs and store data to a same sheet.
@oxylabs
10 ай бұрын
Python Script to Scrape Data from Multiple Tabs: from selenium import webdriver from bs4 import BeautifulSoup import pandas as pd import time def scrape_data_from_page(driver): # Your scraping logic here soup = BeautifulSoup(driver.page_source, 'html.parser') data = soup.find_all('your_element_selector') return extracted_data def open_tab_and_load_url(driver, url): driver.execute_script("window.open('', '_blank');") driver.switch_to.window(driver.window_handles[-1]) driver.get(url) def close_current_tab(driver): driver.close() driver.switch_to.window(driver.window_handles[-1]) def scrape_data_from_tabs(urls): driver = webdriver.Chrome() combined_data = pd.DataFrame() try: for url in urls: open_tab_and_load_url(driver, url) time.sleep(2) data = scrape_data_from_page(driver) combined_data = combined_data.append(data, ignore_index=True) close_current_tab(driver) finally: driver.quit() return combined_data url_list = ['url1', 'url2', 'url3'] result_data = scrape_data_from_tabs(url_list) result_data.to_csv('combined_data.csv', index=False) Replace 'your_element_selector', 'url1', 'url2', etc. with your values. Adjust time.sleep(2) based on page load times.
@intrendingchannel-viral
10 ай бұрын
@@oxylabs wow, thanks. I'm not good in coding, but will try with chatgpt to run this code, meanwhile if you know any no code idea let me know. Actually I got a bookmarklet code from Bing, it opens links in ne tabs and scraps details and copy to clipboard. But we have to click for each page manually, if I ask for automation the code it gives don't work. I'm in search of somehow automating it. I have an application called quick macro. To try with that today. Will let you know. Do you wanna see the code for opening new tabs and copying details to clipboard?
@anasahmad3758
Жыл бұрын
Thanks alot❤️ for such informative video
@cgc2300
10 ай бұрын
Hello, I sell on Amazon and I would like to retrieve my sales history in a Google sheet, do you think I could use this method?
@oxylabs
9 ай бұрын
In theory, yes.
@cgc2300
9 ай бұрын
@oxylabs ok great and can you show me how I could do it
@Mrshanmugham1
Жыл бұрын
Fantastic
@oxylabs
Жыл бұрын
Happy you've enjoyed it!
@YerkoBegic
Ай бұрын
It doesn't work with Java based website
@oxylabs
3 күн бұрын
Hello, websites that use JavaScript require a scraper that can render dynamic content. For example: oxylabs.io/blog/selenium-web-scraping
@giovanniied
Жыл бұрын
Great!
@oxylabs
Жыл бұрын
Happy you liked it!
@tetricko
Жыл бұрын
Damn is the woman talking real she looks ai generated
@oxylabs
Жыл бұрын
Liza is indeed a very real colleague of ours 💙
@tetricko
Жыл бұрын
@@oxylabs she's beautiful and smart tell her i'll marry her soon
Пікірлер: 23