Import Tool Tips from Webpage into Google Sheets - web-scraping

I am trying to pull data from a gaming website into a google sheets. I tried using importxml looking for li, list items and it's not bringing in. Any of the tool tips.
I'm trying to pull from this webpage: https://mobilelegends.midorfeed.net/en/hero/Ruby-29
There are some move information if you hover over the 4 Icons to the right of the character picture and name. This has the move statistics. I want to pull all that information into the google sheet.
I also want to pull in the recommend items stats information that's midway through the page, but is also in the tooltips. So I hope this will be the same.

I believe your goal as follows.
Your question has 2 questions.
There are some move information if you hover over the 4 Icons to the right of the character picture and name. This has the move statistics. I want to pull all that information into the google sheet.
I also want to pull in the recommend items stats information that's midway through the page, but is also in the tooltips.
You want to achieve this using IMPORTXML in Google Spreadsheet.
Unfortunately, from I tried using importxml looking for li, list items and it's not bringing in., I couldn't understand about your formulas. So I proposed the following sample formulas.
Answer for question 1:
Please put the URL of https://mobilelegends.midorfeed.net/en/hero/Ruby-29 to the cell "A1".
=IMPORTXML(A1,"//li/#title")
Result:
Answer for question 2:
Please put the URL of https://mobilelegends.midorfeed.net/en/hero/Ruby-29 to the cell "A1".
=IMPORTXML(A1,"//div[#class='container']/#title")
Result:
Note:
From your question, I couldn't understand about the result you expected. So above proposed formulas directly return the values for your question. Please be careful this.
When you changed the URL, above formulas might not be able to be used. So please be careful this.
Reference:
IMPORTXML

Related

Scraping data from <li> tag without any links in them

i am scraping data from a static website this website using scrapy. However, the issue i am facing with scraping the links for the seeds shown are that specific type of seed show under specific heading in a list. However these lists do not have any links within them neither does the main link change when you click on them. i wanted to ask what would be the best way of going about this hinderance?
please open this link "awangarden.com.pk/seed-store" , I'm trying to scrape the seed packets in all the options given. However i dont understand how to open the 2nd or 3rd option e.g first its seeds then from grass seeds. I dont understand how to make the transition between these two because theres no link in them that i can open
currently i did not write any code because i cannot change the links to get the rest of the seeds, i only have the code to extract data of a single type.

Web scraping from a google search page using html tag

I'm trying to do a google search and get the first 5 result (title/URL) into a excel document.
I tried using 'Data Scraping' but depending on the search term, google will display a different page. Sometimes its will have video, images or related search term. So most of the time, I was not able to actually get all the result from the page as uiPath would not recognize them, probably because of the different div. So my thought was to get them by html tag, as every title use H3 but I can't find a way to do that.
Also tried with find children > get attributes but no success, I feel that might be the best ways tho, I'm just not enough experimented with it to make it work. Tried for hours.
Anyone had a similar problem and found a solution?
When I did this before I had to do multiple scrapes to get the data. The first scrape will get the initial page results and then you can do a second to get data on page 2 forward. I have had instances where i had to do multiple scrapes on the first page to get all the information but after page 1 the data is consistent and easy to scrape. Hope this helps.

Scraping data from a related URL column rendered from a Web Scrape/RSS

I am scraping data from a site, and each item has a related document URL. I want to scrape data from that document, which is available is HTML format after clicking link. Right now, I've been using Google Sheets to ImportFeed to get the basic columns filled.
Is there a next step that I could do to go into each respective URL and grab elements from the document and populate the Google sheet with them? The reason I'm using the RSS feed (instead of python and BS is because they actually offer an RSS feed.
I've looked, and haven't found a question that matches mine specifically.
Haven't personally tried this yet but I've come across web scraping samples using App Script with the use of UrlFetchApp.fetch. You can also check the XmlService sample which is also related to scraping.

retrieve form element to generate next element (google-script)

A bit of a noob so please forgive me.
I am working on a project using Google Sheets and Google Forms. I would love to use javascript and html but I am required to use google.
I have a google form with a drop down. I need to read the value of the drop down and pass it to a google script I have written. The script will populate the values for another question in the same form based on the dropdown value. I need to retrieve the value before the form is submitted so I can create the second question.
Can this be done all on one page?
If not can I create a second page in the form and read the value when the next button is clicked?
I appreciate any info and feedback you can provide. I have tried looking around on the internet but haven really found solutions that helped me, at least not that i understood.
Thanks

How to show a specific div from an external site on one of my webpages

I have a Wordpress-managed site and I would like to embed a specific part of another website in one of my pages. I have identified the div of the part I'm interested in with Firebug. How can I get it to appear on one of my web pages? Simply using an iframe displays the whole page, but I'd rather have the specific div only.
The webpage I want to fetch the div from is outfitpoints.com
and the particular div is div id="outfitdetails" (the box of details seen on the page). It's this box I'd like to have appear on one of my pages.
I'm the developer of Outfitpoints, so I thought I'd answer with a few options.
Firstly, the data I use comes straight out of the Planetside2 API (census.soe.com), so you could write something that pulls some data yourself straight from the source.
However, yours is not the first request to provide this sort of data in a way people can imbed on their own site, so I will be looking into providing the data in that format in the very near future.
What sort of site are you looking to embed it in (enjin, guildlaunch, vbulletin etc.)? Just so I can test and make sure it works with it.
Also, feel free to give me a shout using the contact method on the site if you want to discuss it more.

Resources