Giter Club home page Giter Club logo

Comments (7)

Emersont1 avatar Emersont1 commented on August 26, 2024

I've had a look at this, and I can't seem to add this to my library for testing as it is free, but I'll add error checking on this to just include the name from the download name

from itchio.

TheFrenchGhosty avatar TheFrenchGhosty commented on August 26, 2024

@Emersont1 Well, the main issue is that it crashes the script, meaning that it doesn't download what follows.

Related to #25

from itchio.

TheFrenchGhosty avatar TheFrenchGhosty commented on August 26, 2024

So, I forked it ( https://github.com/TheFrenchGhosty/itchio ), and removing .group(1) from https://github.com/Emersont1/itchio/blob/main/itchiodl/utils.py#L21 made the download work, I then moved back to the pip package and download continued correctly, without "breaking" on this file.

What's the use of .group(1) exactly? Because it doesn't seem to cause any problem from what I can see.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

so the .group(1) returns the regex captured group 1 which contains the filename to be downloaded from the header

What file did your code output it as, as I feel it will have messed with that

from itchio.

TheFrenchGhosty avatar TheFrenchGhosty commented on August 26, 2024

@Emersont1 You're right, the file is named None... though I guess it's better than the script just crashing on it.

from itchio.

TheFrenchGhosty avatar TheFrenchGhosty commented on August 26, 2024

Follow up: I now have downloaded my whole collection (962GB) - except the stuff that got outputted to errors.txt, this file was the only one causing an issue.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

@TheFrenchGhosty I've opened #29, can you test this code to see if that fixes the issue please

from itchio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.