<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Loading Data from a website in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Data-from-a-website/m-p/1825883#M9376</link>
    <description>&lt;P&gt;Hello Everyone&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to Load Data from&amp;nbsp;&lt;A href="https://www.baaa-acro.com/crash-archives" target="_blank"&gt;https://www.baaa-acro.com/crash-archives&lt;/A&gt; but i keep getting an unkown error.&amp;nbsp; With this code i got only 260 lines fetched&amp;nbsp;&lt;/P&gt;&lt;P&gt;for i=1 to 1375&lt;/P&gt;&lt;P&gt;let vPage= '&lt;A href="https://www.baaa-acro.com/crash-archives" target="_blank"&gt;https://www.baaa-acro.com/crash-archives&lt;/A&gt;' &amp;amp; if($(i)&amp;gt;1,$(i),'') &amp;amp; '.htm';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;//Image,&lt;BR /&gt;"Date",&lt;BR /&gt;Operator,&lt;BR /&gt;"A/C Type",&lt;BR /&gt;Location,&lt;BR /&gt;Fatalities,&lt;BR /&gt;Registration&lt;BR /&gt;//F8&lt;BR /&gt;FROM [lib://Aviation-Crashes]&lt;BR /&gt;(html, utf8, embedded labels, table is @1; //filters(&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BN_0-1627751492354.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59501iBEA222A9D65BFFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BN_0-1627751492354.png" alt="BN_0-1627751492354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then tried this code and only got to 1305 lines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR vsCounter = 1 TO 1375&lt;/P&gt;&lt;P&gt;LET vsPage = If($(vsCounter) = 1, 20, 27488 + $(vsCounter) - 1);&lt;/P&gt;&lt;P&gt;LET vsURL = '&lt;A href="https://www.baaa-acro.com/crash-archives" target="_blank"&gt;https://www.baaa-acro.com/crash-archives&lt;/A&gt;' &amp;amp; '$(vsPage)' &amp;amp; '.htm';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET ErrorMode = 0;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;@2 AS [Date],&lt;/P&gt;&lt;P&gt;@3 AS [Operator],&lt;/P&gt;&lt;P&gt;@4 AS ["A/C Type"],&lt;/P&gt;&lt;P&gt;@5 AS [Location],&lt;/P&gt;&lt;P&gt;@6 AS [Fatalities],&lt;/P&gt;&lt;P&gt;@7 AS Registration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM [lib://Aviation-Crashes]&lt;BR /&gt;(html, utf8, no labels, table is @1);&lt;/P&gt;&lt;P&gt;// WHERE Recno() &amp;gt; 4;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET ErrorMode = 1;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not sure what the error is, if someone, anyone can help me please.&lt;/P&gt;</description>
    <pubDate>Sat, 31 Jul 2021 17:17:13 GMT</pubDate>
    <dc:creator>BN</dc:creator>
    <dc:date>2021-07-31T17:17:13Z</dc:date>
    <item>
      <title>Loading Data from a website</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Data-from-a-website/m-p/1825883#M9376</link>
      <description>&lt;P&gt;Hello Everyone&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to Load Data from&amp;nbsp;&lt;A href="https://www.baaa-acro.com/crash-archives" target="_blank"&gt;https://www.baaa-acro.com/crash-archives&lt;/A&gt; but i keep getting an unkown error.&amp;nbsp; With this code i got only 260 lines fetched&amp;nbsp;&lt;/P&gt;&lt;P&gt;for i=1 to 1375&lt;/P&gt;&lt;P&gt;let vPage= '&lt;A href="https://www.baaa-acro.com/crash-archives" target="_blank"&gt;https://www.baaa-acro.com/crash-archives&lt;/A&gt;' &amp;amp; if($(i)&amp;gt;1,$(i),'') &amp;amp; '.htm';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;//Image,&lt;BR /&gt;"Date",&lt;BR /&gt;Operator,&lt;BR /&gt;"A/C Type",&lt;BR /&gt;Location,&lt;BR /&gt;Fatalities,&lt;BR /&gt;Registration&lt;BR /&gt;//F8&lt;BR /&gt;FROM [lib://Aviation-Crashes]&lt;BR /&gt;(html, utf8, embedded labels, table is @1; //filters(&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BN_0-1627751492354.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59501iBEA222A9D65BFFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BN_0-1627751492354.png" alt="BN_0-1627751492354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then tried this code and only got to 1305 lines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOR vsCounter = 1 TO 1375&lt;/P&gt;&lt;P&gt;LET vsPage = If($(vsCounter) = 1, 20, 27488 + $(vsCounter) - 1);&lt;/P&gt;&lt;P&gt;LET vsURL = '&lt;A href="https://www.baaa-acro.com/crash-archives" target="_blank"&gt;https://www.baaa-acro.com/crash-archives&lt;/A&gt;' &amp;amp; '$(vsPage)' &amp;amp; '.htm';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET ErrorMode = 0;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;@2 AS [Date],&lt;/P&gt;&lt;P&gt;@3 AS [Operator],&lt;/P&gt;&lt;P&gt;@4 AS ["A/C Type"],&lt;/P&gt;&lt;P&gt;@5 AS [Location],&lt;/P&gt;&lt;P&gt;@6 AS [Fatalities],&lt;/P&gt;&lt;P&gt;@7 AS Registration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM [lib://Aviation-Crashes]&lt;BR /&gt;(html, utf8, no labels, table is @1);&lt;/P&gt;&lt;P&gt;// WHERE Recno() &amp;gt; 4;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET ErrorMode = 1;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not sure what the error is, if someone, anyone can help me please.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 17:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Data-from-a-website/m-p/1825883#M9376</guid>
      <dc:creator>BN</dc:creator>
      <dc:date>2021-07-31T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading Data from a website</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Data-from-a-website/m-p/1825956#M9378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The page parameter is not included in your url.&lt;/P&gt;&lt;P&gt;I made this video to show how I fixed it&amp;nbsp;&lt;A href="https://youtu.be/S0NG4vJ-j9w" target="_blank"&gt;https://youtu.be/S0NG4vJ-j9w&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;In short, find the script below:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for i=0 to 10

let vPage= 'https://www.baaa-acro.com/crash-archives?page=' &amp;amp; '$(i)';

Trace '$(i)';

LOAD
//Image,
'$(i)' as Page,
"Date",
Operator,
"A/C Type",
Location,
Fatalities,
Registration
//F8
FROM [lib://Aviation-Crashes]
(url is  '$(vPage)',html, utf8, embedded labels, table is @1;

next i&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2021 22:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Loading-Data-from-a-website/m-p/1825956#M9378</guid>
      <dc:creator>Gui_Approbato</dc:creator>
      <dc:date>2021-08-01T22:08:02Z</dc:date>
    </item>
  </channel>
</rss>

