YouTube-Viewer icon indicating copy to clipboard operation
YouTube-Viewer copied to clipboard

File : youtubeviewer -> basics.py -> InvalidSelctorException | invalid selector: unable to lcoate an element with the xapth expression.

Open ah-sabbir opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

I'm submitting a ...

  • [X] bug report
  • [X] feature request
  • [X] support request --> Contact me over mail for support https://github.com/MShawon

Description

There is an issue when search any video into youtube search and find to play. The program's saying that Failed to execute 'evaluate' on 'Document' : The string '//*[@title="text"]' is not a valid XPath expression.

In this case my solution is to use The string as XPath expression-> '//a[@title="text"]' .

Environment

- OS : windows
- Python : 10.3
- Script version : 1.7.4

config.json

No issue in config.json

ah-sabbir avatar Aug 07 '22 12:08 ah-sabbir

Please use python 3.7.x to 3.9.x not 3.10.x to avoid any error

MShawon avatar Aug 07 '22 17:08 MShawon