Jump to content

Search the Community

Showing results for tags 'source web ie _ie'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. So I'm making script that should source one website and read info I need from it. I can do it as straight request and it's working fine, but if I generate link of website with another script and pass it into this mining part it just return nothing. Hope someone can enlighten me whats mistake in code. If I do it like this (directly setting path) it works flawlessly. $s_URL = "http://www.njuskalo.hr/procesori/cpu-amd-sempron-3400-x64-am2-oglas-9288094" $source = _INetGetSource ( $s_URL) $string = BinaryToString($source) $cijena = _StringBetween($string, "cijena:", " kn") Local $zaDBcijena = StringStripWS($cijena[0], 3) MsgBox(0, "out", $zaDBcijena) But if do it as part of other script it simply doesn't work: procesor() Func procesor() Local $i = 0 $s_URL = "http://www.njuskalo.hr/procesori" $source = _INetGetSource ( $s_URL) $string = BinaryToString($source) Global $url = _StringBetween($string, '<div class="image"><a href="', '"><img class="img_var') $size = UBound ( $url ) While $i < $size $lokacija = $s_URL & $url[$i] otvaranje() $i = $i + 1 WEnd EndFunc ;~ //Pregledavanje oglasa Func otvaranje() $s_URL = $lokacija $source = _INetGetSource ($s_URL) $string = BinaryToString($source) $cijena = _StringBetween($string, "cijena:", " kn") Local $zaDBcijena = StringStripWS($cijena[0], 3) MsgBox(0, "out", $zaDBcijena) EndFunc Any ideas is highly appreciated. Edit 1: So after getting over code line by line over and over it's obvious that this line is not working but why it's still mystery: $source = _INetGetSource ( $s_URL)
×
×
  • Create New...