Skip to content

Changed class on line 92 - #45

Open
nandanv99 wants to merge 1 commit into
altryne:mainfrom
nandanv99:patch-1
Open

Changed class on line 92#45
nandanv99 wants to merge 1 commit into
altryne:mainfrom
nandanv99:patch-1

Conversation

@nandanv99

Copy link
Copy Markdown

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!
Comment thread server.py
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)]']")

Copy link
Copy Markdown

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

hsieh123 commented Jan 14, 2023

Copy link
Copy Markdown

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

1RB commented Jan 31, 2023

Copy link
Copy Markdown

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