Jump to content
Ketarin forum

Javascript hiding the URL and populating the "::After" to Get Links


g00p3k
 Share

Recommended Posts

Tried a variety of approaches, and wondering if this is a simple process that I'm just not approaching correctly. 

http://ubitsoft.com/sql-enlight/download

I want to parse out the download link, but it seems to be hidden in the ::AFTER block that is populated by the javascript button click, so I don't get any luck in parsing the raw html, or finding any POST request being sent. 

How would you extract out the exe version info to download from this site?

Link to comment
Share on other sites

this is one where you get to get creative. the URL is based on a constant prefix and suffix plus the version number, so instead of harvesting the link, build it. collect the version number into a variable named version with the following regular expression:

>SQL Enlight ([\d\.]+)<

then build the URL as:

http://ubitsoft.com/downloads/sqlenlight_{version}.exe

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.