+ Reply to Thread
Results 1 to 6 of 6

Get & Transform - Upload Tables from Websites - 3-part table only loads one part

  1. #1
    Registered User
    Join Date
    04-24-2017
    Location
    Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    3

    Get & Transform - Upload Tables from Websites - 3-part table only loads one part

    Hi all.

    This is my first post. I hope I can make it as explicit as possible.

    I am using Get & Transform to load a table that has three parts. Relevant links are shown below:

    http://mlb.mlb.com/stats/sortable.js...tType=hitting&page=1&ts=1493041844740&position='O'&playerType=ALL

    http://mlb.mlb.com/stats/sortable.js...tType=hitting&page=2&ts=1493041933644&position='O'&playerType=ALL

    http://mlb.mlb.com/stats/sortable.js...tType=hitting&page=3&ts=1493041905532&position='O'&playerType=ALL

    Please notice that the links are different only by two parameters: Page and TS. The page parameter specifies the table lines to load: page 1 shows values from lines 1 to 50, page 2 shows values from lines 51 to 100, and page three the remaining lines. I have not been able to find the function of the parameter ts, but I assume it is related to date/time, as it increases with later clicks (TimeStamp?).

    When i try to load to excel these three links using Get & Transform I can only manage to get the first 50 lines (first part of the table) three different times.

    Please let me know how to ensure I can get the second and third parts of the tables loaded into excel.

    Many thanks.

    Amenus.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Get & Transform - Upload Tables from Websites - 3-part table only loads one part

    404 Error - Document not found

  3. #3
    Registered User
    Join Date
    04-24-2017
    Location
    Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    3

    Re: Get & Transform - Upload Tables from Websites - 3-part table only loads one part

    These links should work properly


    http://mlb.mlb.com/stats/sortable.js...playerType=ALL

    http://mlb.mlb.com/stats/sortable.js...playerType=ALL

    http://mlb.mlb.com/stats/sortable.js...playerType=ALL

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Get & Transform - Upload Tables from Websites - 3-part table only loads one part

    New Query from Web 3 times (for each link)
    Combine Queries - Append
    and you've 150 rows
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-24-2017
    Location
    Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    3

    Re: Get & Transform - Upload Tables from Websites - 3-part table only loads one part

    Thanks for your reply Sandy666.

    The file you sent got the same problem I have. Notice that line 50 is the same as line 1.

    Francisco

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Get & Transform - Upload Tables from Websites - 3-part table only loads one part

    Remove duplicates
    1st page on the web looks the same as 3rd so in result you've 100 unique rows

    or queries only for two first links

    I'm not responsible for what's on the web but I think the problem is solved
    02repsolv.gif
    Attached Files Attached Files
    Last edited by sandy666; 04-24-2017 at 11:16 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Enter part nrs consist....it display part number needed
    By ricklou in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-15-2017, 07:16 AM
  2. Formula to move part of a value to a new cell - part 2
    By forestavekids in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-28-2016, 12:34 PM
  3. Replies: 1
    Last Post: 01-03-2016, 11:48 PM
  4. Nested IF statement validating part 1 but not part 2 of conditional
    By methuselah90 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2014, 02:39 PM
  5. 2 part piece here. One part counter of up and down, fill in of blank cells.
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 10:09 PM
  6. Find Part number through Macro and output to associated part to certain cell
    By boylers75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2012, 04:32 PM
  7. Date and Time stap for Part In & Part Out
    By crystal2000a in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-25-2012, 10:36 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1