Coder Social home page Coder Social logo

Comments (11)

waisuan avatar waisuan commented on May 19, 2024

Hello. Submitted a pull request for this one. Let me know what you think! Thanks.

from torbot.

PSNAppz avatar PSNAppz commented on May 19, 2024

Traceback (most recent call last): File "torBot.py", line 186, in <module> main(conn=True) File "torBot.py", line 162, in main emails = getemails.getMails(html_content) File "/home/psn/Documents/TorBoT/modules/getemails.py", line 24, in getMails links = soup.find_all('a') AttributeError: 'NoneType' object has no attribute 'find_all'

Need a fix asap

from torbot.

waisuan avatar waisuan commented on May 19, 2024

Hmmm . Doesn’t seem to be related to my changes. Will take a look.

from torbot.

waisuan avatar waisuan commented on May 19, 2024

Do you have a way of replicating the error, @PSNAppz ? I'm not getting anything on my side.

from torbot.

PSNAppz avatar PSNAppz commented on May 19, 2024

@waisuan Try this one
python3 torBot.py -u https://www.helloaddress.com/ -m
It has one mail id in the page but its returning 0 found.
But on the other hand this one is working perfect
python3 torBot.py -u https://www.asianpaints.com/contact-us.html -m

from torbot.

waisuan avatar waisuan commented on May 19, 2024

I'm not getting any errors for both links...

image

from torbot.

PSNAppz avatar PSNAppz commented on May 19, 2024

See its returning 0 . It should return 1

from torbot.

waisuan avatar waisuan commented on May 19, 2024

@PSNAppz -- I did a bit of debugging and I suspect that the issue at hand here is not bug-related. It would seem that the site that you have cited as an example is (probably) blocking visits from Tor nodes.

You would get an "Access Denied" error when accessing the page on Tor but OK on any other non-Tor browsers:-
image

For more info on this:: https://tor.stackexchange.com/questions/6646/why-do-i-get-access-denied-at-certain-web-sites-when-i-didnt-last-year

from torbot.

waisuan avatar waisuan commented on May 19, 2024

You can confirm this by turning https://github.com/DedSecInside/TorBoT/blob/dev/torBot.py#L108 off and running the crawler. You should be able to see the "mail" then.

from torbot.

KingAkeem avatar KingAkeem commented on May 19, 2024

Has this issue been fixed?

from torbot.

PSNAppz avatar PSNAppz commented on May 19, 2024

@waisuan Ok. @KingAkeem Seems like a problem which cannot be fixed on our side.

from torbot.

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.