Jump to content

Recommended Posts

Posted (edited)

http://www.objektvision.se/fastigheter_till_salu%23__state__2__1_20

Does not return the page, so it will not work...

thanks anyway!

Any other suggestions?

If the parse string contains a crosshatch "#" character, then the substring after the first (left-most) crosshatch "#" and up to the end of the parse string is the <fragment> identifier. If the crosshatch is the last character, or no crosshatch is present, then the fragment identifier is empty. The matched substring, including the crosshatch character, is removed from the parse string before continuing.

Note that the fragment identifier is not considered part of the URL. However, since it is often attached to the URL, parsers must be able to recognize and set aside fragment identifiers as part of the process.

Try with http://www.objektvision.se/fastigheter_till_salu

and you will get it ! Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Posted

Keep in mind the fact that # is used to indicate an anchor. The actual page is just "http://www.objektvision.se/fastigheter_till_salu" like wakillon said. The #__state__2_1_20 is an anchor in the page.

If the page is actually generated by Javascript and uses the anchor to indicate the page to set up dynamically, _InetGetSource will not help you.

Posted

It makes me really sad to hear that i can't use _INetGetSource.

For now I (unhappily) use the following code:

#include <IE.au3>
$sURL = "http://www.objektvision.se/fastigheter_till_salu#__state__2__1_20"

$oIE = _IECreate($sURL, 0, 0, 1, 0)
$sHTML = _IEDocReadHTML($oIE)
MsgBox(0, "Example", $sHTML)

Thx any way. :graduated:

Posted

You can use _InetGetSource. You just aren't using it correctly.

If the page is generated via Javascript, then the page isn't too great.

Hello uʍop-ǝpısdn!

Your comment about me not using _InetGetSource in the correct way is probably true...

But thats why i'm posting, and your post does not help.

I would still be very grateful if you or any one else know how to get the html via _InetGetSource from

http://www.objektvision.se/fastigheter_till_salu#__state__2__1_20

Big thanks in advance!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...