You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
old code (basics.py): find_video = section.find_element( By.XPATH, f'//*[@title="{video_title}"]')
new code: find_video = section.find_element( By.XPATH, f'//a[contains(@href,"v={video_id}")]')
video_id can be taken from one of the urls
Environment
OS : Ubuntu 20.04
Python : 3.9.10 / EXE without Python
Script version : 1.7.1
config.json
config.json
The text was updated successfully, but these errors were encountered:
@furjac, If there is a video with the same title as yours in the search, the program may open someone else's, but if you search by video_id, this will not happen. Also, you no longer have to type the name of the video into the search.txt file, which makes it a little easier.
Is there an existing issue for this?
I'm submitting a ...
Description
old code (basics.py):
find_video = section.find_element( By.XPATH, f'//*[@title="{video_title}"]')
new code:
find_video = section.find_element( By.XPATH, f'//a[contains(@href,"v={video_id}")]')
video_id can be taken from one of the urls
Environment
config.json
The text was updated successfully, but these errors were encountered: