Help with Regex

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 3 replies, 2 voices, and was last updated 1 year, 10 months ago by Szabi – CodeRevolution.

Viewing 3 reply threads
  • Author
    Posts
    • #6572


      Wessam
      Participant
      Post count: 1

      First, thank you for producing quality and helpful plugins.

      Can you please help me to download the file from the link in the bottom of this page: “https://www.forexracer.com/super-arrow-indicator-mt4/”

      Screenshot of the download link here: https://prnt.sc/wBU1ZBTheour.

      It seems like only Regex should work since the link only shows as part of the regular content, in ID, Class, and XPath.

      I tried https:\/\/www\.forexracer\.com\/download\/([\w-]+)\.(\w+)

      It works in RegExr but it doesn’t catch the file on Crawlomatic.

      Please help

      Thank you

      Wessam

    • #6577


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      Please use the below plugin config:

       

      Scraper Start (Seed) URL / Keywords

      Super Arrow Indicator MT4

      Downloadable File Query Type
      Regex – All Matches

      Downloadable File Query String
      (https:\/\/www\.forexracer\.com\/download\/(?:[\w-]+)\.(?:\w+))

      Generated Post Content: 
      <a href=”%%downloaded_file%%”>Download</a>

       

      Let me know if this helped.

      Regards, Szabi – CodeRevolution.

    • #6587


      Wessam
      Participant
      Post count: 1

      works like a charm, thank you

    • #6588


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      I am really glad to help!

      If you like the plugin, please give it a rating on CodeCanyon, it is really appreciated. 🙂

      Regards.

Viewing 3 reply threads

The topic ‘Help with Regex’ is closed to new replies.