Git Product home page Git Product logo

Comments (5)

GerbenJavado avatar GerbenJavado commented on August 12, 2024 2

Thank you @energiatel for submitting this issue and thank you @dPhoeniixx for proposing the fix. It helps a ton. Should be fixed quickly.

from linkfinder.

dPhoeniixx avatar dPhoeniixx commented on August 12, 2024

same issue

from linkfinder.

dPhoeniixx avatar dPhoeniixx commented on August 12, 2024

I found that the decompression function that is used to decompress data has been added only in python => 3.2, this issue appears only in python < 3.2
If you want to fix this issue in python < 3.2, you need add this imports in linkfinder.py

from gzip import GzipFile
from StringIO import StringIO

and replace

data = gzip.decompress(response.read()) // line 152

with

data = GzipFile(fileobj=StringIO(response.read())).read()

In the end, thank you @GerbenJavado for this awesome tool <3 !

from linkfinder.

GerbenJavado avatar GerbenJavado commented on August 12, 2024

I still need to test the code however pull request #41 should do the trick. The try statement is to both support Python 2 & 3.

from linkfinder.

GerbenJavado avatar GerbenJavado commented on August 12, 2024

As far as my tests are correct this issue should be fixed with commit 6149c50. If you notice any further problems please tell me about it. Thanks!

from linkfinder.

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.