eddie3 / gogrepo

Python-based tool for downloading all your GOG.com game and bonus collections to your local computer for full offline enjoyment.
481 stars 114 forks source link

XML Parsing Error #64

Closed oriwheb closed 1 year ago

oriwheb commented 1 year ago

I'm getting an XML parsing error even after downloading the latest commit from 4 days ago.

I printed the URL which the

if fetch_md5:
    if os.path.splitext(page.geturl())[1].lower() not in SKIP_MD5_FILE_EXT:
        tmp_md5_url = page.geturl() + '.xml'

handles, since that's what shows as edited on the latest fix, and got:

https://gog-cdn-lumen.secure2.footprint.net/token=nva=<number was here>~dirs=6~token=<some token was here>/secure/offline/<number was here>/<number was here>/<number was here>/<number was here>/setup_beautiful_desolation_1.0.7.3_win_%2864bit%29_%2856745%29.exe

which I can kind of tell doesn't have the md5 as [1], as the

os.path.splitext(page.geturl())[1]

leaves only ".exe" to deal with.

Is this an issue only on my end?

nazgul6 commented 1 year ago

I’m getting issues with XML parsing error with the latest commit still as well.

eddie3 commented 1 year ago

Hi. Is it just specific games or files? Some files from GOG don't have MD5 info. Future gogrepo version will provide more clear error messages in this regard.

oriwheb commented 1 year ago

It appears your question was spot on.

The first few games in my download list have this issue, but after that other games are OK.