Jump to content

[Solved] Problem with _InetGetSource


Recommended Posts

Hi all,

wrote a script to check the german lottery results some while ago, which always worked perfectly. But today, out of a sudden, the script stopped to work.

#include <INet.au3>
$x = _INetGetSource("http://ergebnisse.westlotto.com/gewinnzahlen/lottozahlen.rss")
Clipput($x)

The Script runs and then hangs, suppsedly until a timeout occurs. The problematic line is number 101 of inet.au3:

Local $sString = InetRead($sURL, $INET_FORCERELOAD)

Funny thing is, I haven't changed anything (same script, it's the same AutoIt Version, installed no new Windows Updates).

Works fine on my girlfriends PC. Adding or changing the UserAgent does not change the result.

Currently I'm clueless... Any Ideas? 😶

And does this thing work for you? Or do you get a timeout, too?

Edited by Marc

Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL)

Link to post
Share on other sites

for me  work

<?xml version="1.0" encoding="ISO-8859-15"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>LOTTO 6aus49 Gewinnzahlen</title>
        <link>http://ergebnisse.westlotto.de/gewinnzahlen/lottozahlen.rss</link>
        <atom:link href="http://ergebnisse.westlotto.de/gewinnzahlen/lottozahlen.rss" rel="self" type="application/rss+xml"/>
        <description>Aktuelle LOTTO 6aus49 Gewinnzahlen</description>
        <item>
            <title>vom 08.08.20: 8, 14, 18, 25, 28, 48 S: 7</title>
            <description/>
            <link>http://www.westlotto.de/gewinnzahlen/lottozahlen.html?feed=yes</link>
            <guid isPermaLink="false">wlinfo-frss-lotto-2020-08-08</guid>
        </item>
        <item>
            <title>Spiel 77: 1902288</title>
            <description/>
            <link>http://www.westlotto.de/gewinnzahlen/lottozahlen.html?feed=yes</link>
            <guid isPermaLink="false">wlinfo-frss-spiel77-2020-08-08</guid>
        </item>
        <item>
            <title>SUPER 6: 556270</title>
            <description/>
            <link>http://www.westlotto.de/gewinnzahlen/lottozahlen.html?feed=yes</link>
            <guid isPermaLink="false">wlinfo-frss-super6-2020-08-08</guid>
        </item>
        <item>
            <title>Alle Angaben ohne Gewähr</title>
            <description/>
            <link>http://www.westlotto.de/gewinnzahlen/lottozahlen.html?feed=yes</link>
            <guid isPermaLink="false">wlinfo-frss-lotto-ohne-gewaehr</guid>
        </item>
    </channel>
</rss>


your code

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...