ThreeGiantNoobs / chegg-scraper

Download Chegg homework-help questions to self-sufficient HTML files
The Unlicense
71 stars 23 forks source link

Likes and Dislikes #21

Closed ghost closed 2 years ago

ghost commented 3 years ago

The script works very well, but could you add the Likes and Dislikes of the answers? That would be very good as it would help us to know if the answers are correct. Regards.

k4anubhav commented 3 years ago

I will look into it

k4anubhav commented 3 years ago

Can you send screenshots of Likes and Dislikes in chegg

ghost commented 3 years ago

chapter_type_frame

ghost commented 3 years ago

template

ghost commented 3 years ago

The first screenshot is from the book solutions (Step by Step) and the second screenshot is from a chegg Expert Response.

k4anubhav commented 3 years ago

I asked for screenshots cause I checked two questions, and both have 0 upvotes and downvotes,

Thanks, Now I can add.

ghost commented 3 years ago

Thanks a lot bro, I'll keep an eye out for the new update :D

ghost commented 3 years ago

@k4anubhav any news on this suggestion?

ashinver218 commented 3 years ago

Can Anyone help me to set up this script? Thank You in Advance this is my discord Gregg IV#0109

k4anubhav commented 3 years ago

@k4anubhav any news on this suggestion?

@kevincrack9bit the solution is easy but increases the chance of account marked as shared as it will increase one request per question

ghost commented 3 years ago

@k4anubhav any news on this suggestion?

@kevincrack9bit the solution is easy but increases the chance of account marked as shared as it will increase one request per question

I tried to add it and modify the code by myself but it was not possible, maybe you could guide me ?

harshapalegar commented 3 years ago

Hey I tried script, it works very well can you help me to deploy this as bot on telegram @k4anubhav

Rajat-Jain29 commented 3 years ago

Hey @harshapalegar, @k4anubhav, @kevincrack9bit Could you please help me in running this script. Actually, I am facing this error: cheggscraper.Exceptions.FailedToParseAnswer

Please help me out.

harshapalegar commented 3 years ago

Hey @harshapalegar, @k4anubhav, @kevincrack9bit Could you please help me in running this script. Actually, I am facing this error: cheggscraper.Exceptions.FailedToParseAnswer

Please help me out.

yaa bro I can help you

Rajat-Jain29 commented 3 years ago

@harshapalegar Yeah please bro... Can we connect over LinkedIn? My LinkedIn is in my Github please checkout

Rajat-Jain29 commented 3 years ago

@harshapalegar What happened? Give me some hints then I will do ...

k4anubhav commented 3 years ago

I tried to add it and modify the code by myself but it was not possible, maybe you could guide me? @kevincrack9bit Which endpoint do you use to get likes, dislikes?

k4anubhav commented 3 years ago

Hey @harshapalegar, @k4anubhav, @kevincrack9bit Could you please help me in running this script. Actually, I am facing this error: cheggscraper.Exceptions.FailedToParseAnswer

Please help me out.

You can start a new issue

k4anubhav commented 3 years ago

@kevincrack9bit This feature can be added optional, causing an increased chance of getting the account banned.

ghost commented 3 years ago

@kevincrack9bit This feature can be added optional, causing an increased chance of getting the account banned.

It doesn't matter, it is not for high demand use only for a group of colleagues who share the Chegg account. And for us it is important to visualise the likes and dislikes the answer has.

ghost commented 3 years ago

@kevincrack9bit This feature can be added optional, causing an increased chance of getting the account banned.

It doesn't matter, it is not for high demand use only for a group of colleagues who share the Chegg account. And for us it is important to visualise the likes and dislikes the answer has.

@k4anubhav Could you send me an example of how I can add Likes and Dislikes in the replies and have it displayed in the HTML template?

k4anubhav commented 3 years ago

https://www.chegg.com/study/_ajax/contentfeedback/getreview?entityType=ANSWER&entityId=23121

This Uri will provide likes and dislikes of answer with id 23121

k4anubhav commented 3 years ago

https://www.chegg.com/study/_ajax/contentfeedback/getreview?entityType=ANSWER&entityId=23121

This Uri will provide likes and dislikes of answer with id 23121

This endpoint is accessible to non-premium members as well

ghost commented 2 years ago

Screenshot 2022-03-05 165920 Hi it's me again I have tried to display the Likes and Dislikes and I haven't succeeded, the link you left above didn't work. I want to display the Likes and Dislikes but I get None as response from the Python console. Screenshot 2022-03-05 170759 Screenshot 2022-03-05 170913

k4anubhav commented 2 years ago

Screenshot 2022-03-05 165920 Hi it's me again I have tried to display the Likes and Dislikes and I haven't succeeded, the link you left above didn't work. I want to display the Likes and Dislikes but I get None as response from the Python console. Screenshot 2022-03-05 170759 Screenshot 2022-03-05 170913

You can't get likes and dislikes with bs4, they are fetched later, And the link I shared is working.

ghost commented 2 years ago

Thanks bro I have managed it, thank you very much for your help.

Nitin-440 commented 2 years ago

Thanks bro I have managed it, thank you very much for your help.

https://www.chegg.com/study/_ajax/contentfeedback/getreview?entityType=ANSWER&entityId=23121

in which directory i add these and how please help

Nitin-440 commented 2 years ago

Screenshot 2022-03-05 165920 Hi it's me again I have tried to display the Likes and Dislikes and I haven't succeeded, the link you left above didn't work. I want to display the Likes and Dislikes but I get None as response from the Python console. Screenshot 2022-03-05 170759 Screenshot 2022-03-05 170913

You can't get likes and dislikes with bs4, they are fetched later, And the link I shared is working.

how to use these link

ghost commented 2 years ago

Screenshot 2022-03-05 165920 Hi it's me again I have tried to display the Likes and Dislikes and I haven't succeeded, the link you left above didn't work. I want to display the Likes and Dislikes but I get None as response from the Python console. Screenshot 2022-03-05 170759 Screenshot 2022-03-05 170913

You can't get likes and dislikes with bs4, they are fetched later, And the link I shared is working.

how to use these link

It used to work, now it doesn't