Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6942951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:05:33+00:00 2026-05-27T13:05:33+00:00

I would like to extract data form a spacific url such as www.example.com/data.php?id=xx Where

  • 0

I would like to extract data form a spacific url such as http://www.example.com/data.php?id=xx

Where xx is a number between 1 and 1000 (ie. the script should loop through) and extract the data so far I have the following script:

VERSION BUILD=7401110 RECORDER=FX TAB 
T=1 
SET !LOOP 1 
URL GOTO=http://www.example/data.php?id={{!LOOP}} 
TAG POS=2 TYPE=TD ATTR=TXT:* EXTRACT=TXT

Now how can I achieve this to loop properly also if a url eg http://www.example.com/data.php?id=4
does not exist no data is extracted but the script continues and finally how can I get the data to be outputted to a file?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:05:33+00:00Added an answer on May 27, 2026 at 1:05 pm

    With the macro you wrote, if you use the Loop function (that is, hit the play loop button) the macro is going to load one url after the other and extract the desired data.

    However, the data is not going to be saved, but presented to you in a popup at each step. To avoid that, include the command

    SET !EXTRACT_TEST_POPUP NO
    

    at the beginning. For the saving, use SAVEAS TYPE=EXTRACT

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to extract specific data form a known Url : from html
I would like to extract the data from this website: http://webcharts.fxserver.com/pairs/activePairs.php?profile=CMSForexWebQuotes1-D I obtained the
Using Php I would like to extract the current Url of a page including
I would like to extract the data groups from the PHP arrays depending on
I would like to extract the GPS EXIF tag from pictures using php. I'm
I have the following snippet where I would like to extract code between the
I have to choose between custom data tags or ids. I would like to
I would like to extract the data and event name from a google calendar
I would like to extract some data from three tables in a SQL Server
I would like to extract some data from plain files (thunderbird mailboxes, html files,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.