Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed class on line 92 #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

nandanv99
Copy link

Hello Devs,
Just found that ChatGPT front-end has been changed 2 days ago and class name is also changed that why previous version of code not working properly ( - not getting response of query on telegram )
So i have changed class after analysing the whole frond-end again of ChatGPT

Thanks!

Hello Devs,
Just found that ChatGPT front-end has been changed 2 days ago and class name is also changed that why previous version of code not working properly ( - not getting response of query on telegram ) 
So i have changed class after analysing the whole frond-end again of ChatGPT
Thanks!
@@ -89,7 +89,7 @@ class AtrributeError:

def get_last_message():
"""Get the latest message"""
page_elements = PAGE.query_selector_all("div[class*='request-']")
page_elements = PAGE.query_selector_all("div[class*='lg:w-[calc(100%-115px)]']")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to page_elements = PAGE.query_selector_all("div[class*='markdown']") for the same reason

@hsieh123
Copy link

hsieh123 commented Jan 14, 2023

this fixes issue #48. I did the same change, page_elements = PAGE.query_selector_all("div[class*='markdown']"). Also added an empty array check for page_elements.

@1RB
Copy link

1RB commented Jan 31, 2023

works for me +rep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants