Git Product home page Git Product logo

Comments (10)

gh0stkey avatar gh0stkey commented on August 12, 2024 5

Hey,man.I think i have the same problem as you,but i fixed it.
You can change the code of linkfinder.py.
Original Code:

sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)

...code

response = urlopen(q, context=sslcontext)

After the change of code:

# Support websites that force TLSv1.2

...code

try:
    sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
    response = urlopen(q, context=sslcontext)
except:
    sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
    response = urlopen(q, context=sslcontext)

from linkfinder.

GerbenJavado avatar GerbenJavado commented on August 12, 2024

@irshad9998 Thanks for reporting! I'll look into it.

from linkfinder.

Bankde avatar Bankde commented on August 12, 2024

I have noticed we're using low level urllib. Should we use python Requests instead ?
Requests lib might handle that for us.

from linkfinder.

GerbenJavado avatar GerbenJavado commented on August 12, 2024

I swapped out requests originally because it gave very bad performance. (some problems with using it for very large textfiles in combination with file://)

from linkfinder.

GerbenJavado avatar GerbenJavado commented on August 12, 2024

@gh0stkey Thank you so much for the suggestion. Ill try it out and add it to LinkFinder.

from linkfinder.

pcastagnaro avatar pcastagnaro commented on August 12, 2024

Hi guys,

I am getting a similar error: urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727). How can I repair it?

Thanks!

from linkfinder.

ysl4life avatar ysl4life commented on August 12, 2024

also having the same issue still, even with the new version with the fix from @gh0stkey

from linkfinder.

Syazvinski avatar Syazvinski commented on August 12, 2024

still having the issue here

from linkfinder.

Bankde avatar Bankde commented on August 12, 2024

@Syazvinski Can we have the error message, and (if you could) step to reproduce and the website you're testing?

from linkfinder.

ghost-man01 avatar ghost-man01 commented on August 12, 2024

Hey I'm getting the same issue of sslcontext.

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.