Jump to content

Recommended Posts

I'm not able to find the orange "Download" link (on the right side) when parsing the DOM of the following page:

http://emumovies.com/forums/files/file/1207-gamecube-video-snaps-240p/

My try:

#include <IE.au3>

Local $oIE = _IECreate("http://emumovies.com/forums/files/file/1207-gamecube-video-snaps-240p/")

Local $sMyString = "240"

Local $oLinks = _IELinkGetCollection($oIE)

For $oLink In $oLinks

    Local $sLinkText = _IEPropertyGet($oLink, "href")

     MsgBox(null,"Test",$sLinkText)

    If StringInStr($sLinkText, $sMyString) Then
        _IEAction($oLink, "click")
        ExitLoop
    EndIf

Next

Exit

 

When inspecting the link I receive this:

<a class="download_button rounded right" href="http://emumovies.com/forums/files/go/12858174aa2ef8356c0b0fa68b6a25b0/gamecube-video-snaps-240p">Download</a>

 

Can you guys help me?

 

Greetings,

Wanja

 

 

 

 

 

 

 

Edited by Wanja
Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...