Jump to content

InetRead dont get news in <dl>


Recommended Posts

The problem is that InetRead can't read the news links. I hope someone can help me.

My Code:

#Include <IE.au3>
#include <MsgBoxConstants.au3>
#include <String.au3>
#include <Array.au3>
#include <File.au3>
#include <Date.au3>

$url = "https://www.ecb.europa.eu/press/pr/html/index.en.html"

Global $InetRead = InetRead($url, 1)
Global $html = BinaryToString($InetRead)
$linksarr = _StringBetween($html, 'href="/press/pr/date/', '"')
_ArrayDisplay($linksarr)

Thats what i get in the <dl>:

<dl id="lazyload-container" class="ecb-basicList wpSeries ecb-lazyload pub-list-filter"  
        data-filter='true' data-snippets='../date/2020/html/index_include.en.html,../date/2019/html/index_include.en.html,../date/2018/html/index_include.en.html,../date/2017/html/index_include.en.html,../date/2016/html/index_include.en.html,../date/2015/html/index_include.en.html,../date/2014/html/index_include.en.html,../date/2013/html/index_include.en.html,../date/2012/html/index_include.en.html,../date/2011/html/index_include.en.html,../date/2010/html/index_include.en.html,../date/2009/html/index_include.en.html,../date/2008/html/index_include.en.html,../date/2007/html/index_include.en.html,../date/2006/html/index_include.en.html,../date/2005/html/index_include.en.html,../date/2004/html/index_include.en.html,../date/2003/html/index_include.en.html,../date/2002/html/index_include.en.html,../date/2001/html/index_include.en.html,../date/2000/html/index_include.en.html,../date/1999/html/index_include.en.html,../date/1998/html/index_include.en.html,../date/1997/html/index_include.en.html'></dl>

Normally the newest links should be inside.

Link to comment
Share on other sites

yeah but my problem is i can't get this part of the source code. Its not there when i try to declare the link.

<a href="/press/pr/date/2020/html/ecb.pr200717_2~7d1fb908e4.en.html">ECB and National Bank of Serbia set up repo line to provide euro liquidity </a>

 

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

  • Recently Browsing   0 members

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