YouTube-Viewer
YouTube-Viewer copied to clipboard
File : youtubeviewer -> basics.py -> InvalidSelctorException | invalid selector: unable to lcoate an element with the xapth expression.
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
Please use python 3.7.x to 3.9.x not 3.10.x to avoid any error