Coder Social home page Coder Social logo

Script returns errors about faceboom HOT 3 CLOSED

thehassantahir avatar thehassantahir commented on July 30, 2024 1
Script returns errors

from faceboom.

Comments (3)

lnfel avatar lnfel commented on July 30, 2024 1

Update:

The following error is now gone fo some reason.

[!] Error: not viewing HTML

Edit:

The reason for the above error happens when useragent() randomly picks:

Opera/9.80 (J2ME/MIDP; Opera Mini/9.80 (S60; SymbOS; Opera Mobi/23.348; U; en) Presto/2.5.25 Version/10.54

replacing the following line

return random.choice(useragents)

with return useragents[3] confirms the issue.

Solution:

Remove the aforementioned user agent in useragents array.

Ongoing issue:

[!] Error: a bytes-like object is required, not 'str' is still happening.

from faceboom.

thehassantahir avatar thehassantahir commented on July 30, 2024

Hey @infel

This is not an issue of user agents or HTML viewer.

Issue:

The reason for the above error happens when useragent() randomly picks:
Opera/9.80 (J2ME/MIDP; Opera Mini/9.80 (S60; SymbOS; Opera Mobi/23.348; U; en) Presto/2.5.25 Version/10.54

We are facing this issue because Facebook has updated its API and I am currently working on its token authentication process to fetch the profiles But the security update is to tight.

Thanks for reaching out on the issue.

Happy Hacking!

from faceboom.

lnfel avatar lnfel commented on July 30, 2024

I see, thank you for the explanation. I will close my pull request then.

from faceboom.

Related Issues (8)

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.