google-sheets-importxml

How to import table with mix of text and image metadata with IMPORTHTML and/or IMPORTXML?

五迷三道 提交于 2020-04-18 03:47:31
问题 I'm trying to import tables with a mixture of text and images into Google Sheets with IMPORTHTML and/or IMPORTXML function. The tables I'm trying to import are the 'Equipment' tables under the 'Advancement' section from multiple sites like this: https://stt.wiki/wiki/Xindi_%27Prisoner%27_Archer. The number of stars at each item in the table represents a "level" from 1 ("Common") to 5 ("Legendary"), with no stars representing level 0 ("Basic"). The image metadata contains the level description

How to import table with mix of text and image metadata with IMPORTHTML and/or IMPORTXML?

社会主义新天地 提交于 2020-04-18 03:47:23
问题 I'm trying to import tables with a mixture of text and images into Google Sheets with IMPORTHTML and/or IMPORTXML function. The tables I'm trying to import are the 'Equipment' tables under the 'Advancement' section from multiple sites like this: https://stt.wiki/wiki/Xindi_%27Prisoner%27_Archer. The number of stars at each item in the table represents a "level" from 1 ("Common") to 5 ("Legendary"), with no stars representing level 0 ("Basic"). The image metadata contains the level description

Google Sheets IMPORTXML XPath help (understanding how to read a page source)

▼魔方 西西 提交于 2020-02-06 08:35:31
问题 I am trying to write a function that will give me the annual payout dividend for a given stock. The website I am using is www.seekingalpha.com So I understand that the function is =IMPORTXML (URL, xpath_query) . In that case, my URL is: https://seekingalpha.com/symbol/VOO/dividends/scorecard but the problem I am having is figuring out the correct XPath to acquire the dividend value. I currently have this as my function: =IMPORTXML(CONCATENATE("https://www.seekingalpha.com/symbol/", $B2, "

Why importxml and importhtml not working here?

こ雲淡風輕ζ 提交于 2020-01-25 07:04:47
问题 =Importhtml("https://app.neilpatel.com/en/ubersuggest/keyword_ideas?keyword=Food%20Chart&locId=2840&lang=en", "table", 3) =ImportXML("https://app.neilpatel.com/en/ubersuggest/keyword_ideas?keyword=Food%20Chart&locId=2840&lang=en","//div[@class='css-19jz7zx']") I use the above formula to get keywords in my google sheet. but I only get #N/A (Error Imported content is empty) I'm unable to understand what is wrong with my formula, why I'm unable to get data. please help me with this. 回答1: I think

IMPORTHTML or IMPORTXML to collect data from a site

て烟熏妆下的殇ゞ 提交于 2020-01-24 23:57:10
问题 I have made several attempts to collect the data within this table: The simple ways of the two functions I've commented on, I've tried, but not succeeded. I would like to if anyone knows any other way to collect this data in Google Sheets. Site Link: https://www.onlinebettingacademy.com/stats/team/brazil/operrio-pr/13217#tab=t_squad 回答1: the table you want to scrape is under JavaScript control, therefore, it can't be scraped. all you can get from that site into Google Sheets is: =ARRAY

another IMPORTXML returning empty content

会有一股神秘感。 提交于 2020-01-15 11:18:28
问题 When I input =IMPORTXML("http://www.ilgiornale.it/autore/franco-battaglia.html","//h2") in my google sheet, I get: #N/A Imported content is empty . However, when I input: =IMPORTXML("http://www.ilgiornale.it/autore/franco-battaglia.html","*") I get some content, so I can presume that access to the page is not blocked. And the page contains several h2 tags without any doubt. So what's the issue? 回答1: You want to know the reason of the following situation. =IMPORTXML("http://www.ilgiornale.it

Google docs ImportXML called from script

瘦欲@ 提交于 2019-12-22 17:52:52
问题 I am using ImportXML in a google docs sheet to aqcuire data from the sistrix api. It works fine but I encountered the limitation of 50 ImportXML commands in one sheet. So I used a script that writes the ImportXML command to a cell (temporary) formula and takes back the resulting value of the cell and copies it to the destination cell. So you can do as much ImportXML queries as you need, as they only appear in one temporary cell in the sheet. The problem here is, that the ImportXML query

How would I import YouTube Likes and Dislikes and a ratio from YouTube onto Google Sheets? [closed]

▼魔方 西西 提交于 2019-12-19 12:20:32
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 10 months ago . How would I import YouTube likes and dislikes from a video onto Google Sheets? 回答1: TITLE: =IMPORTXML("https://www.youtube.com/watch?v=MkgR0SxmMKo","//*[@id='eow-title']") VIEWS: =VALUE(REGEXREPLACE(TEXT(IMPORTXML("https://www.youtube.com/watch?v=MkgR0SxmMKo", "//*[contains(

Extract sub category info from XML using Google Sheets import xml

佐手、 提交于 2019-12-13 03:43:46
问题 I am trying to capture elements of an qmd file (that is xml markup) using Google Sheets importxml. Based on the reply to my question Google ImportXML from QGIS metadata file I am able to capture the primary tag. =transpose(IMPORTXML("https://drive.google.com/uc?id=1AI2C8hQnSOuuoyJXizYBszGmpMXW8xxT&export=download","//authid")) However I can't access some elements <spatialrefsys> <proj4>+proj=utm +zone=55 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs</proj4> <srsid>2449</srsid>

Trouble fetching date from ImportXML. Need options

陌路散爱 提交于 2019-12-11 22:05:15
问题 Using Google Sheets. I'm trying to fetch the ETA date on this page: https://www.hapag-lloyd.com/en/online-business/tracing/tracing-by-booking.html?blno=HLCUEUR181027806# In the future, I will be using different blno's, so the ETA will change based on the blno (bill of lading number). In the future, blno will come from a column. I used the standard web-page inspection methods to determine that the xpath for the element that I want is the following: //*[@id="ext-gen156"] This is the XPath for