Code Monkey home page Code Monkey logo

brainly-scraper's Introduction

brainly-scraper's People

Contributors

krypton-byte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

brainly-scraper's Issues

Error Syntax

brainly.py", line 3
brainly("question", amount:int)
^
SyntaxError: invalid syntax

yg bener bagaimana ya mas cara gunainnya ?

The output i get is in Indonesian ?

This is the code and output:-

from brainly_scraper import brainly

scrap=brainly("cytoplasm", 1)

for i in scrap:
    print(f"Q: {i.question.content}")
    for answer in enumerate(i.answers):
        print(f"A{answer[0]}: {answer[1].content}")
Q: Bagaimana bentuk cytoplasm? ​
A0: ini setengah bentuk cytoplasm setengah liat gogle

Process finished with exit code 0

How do I get the results in English?

How can I scrape answers

Can I scrape answers using this lib?

from brainly_scraper import brainly
print(brainly("""Uporządkuj chronologicznie wydarzenia.
A. utworzenie PZPR
B. referendum ludowe
C. uchwalenie Konstytucji PRL
D. wybory do sejmu ustawodawczego​""", 1))

I have this code and it only gives me:

[<( QUESTION: 1 ANSWER:2 )>]

and I have no idea how to get something more than this

ERROR

def brainly(query:str, first:int,after=None)->list[content]:
TypeError: 'type' object is not subscriptable

error di python : 3.8.3
tolong bantu bang

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.