ChillFam / odysee_downloader

Automates file downloads from your subscribed channels
Apache License 2.0
0 stars 0 forks source link

NoSuchElementError #2

Open Alejoss opened 5 months ago

Alejoss commented 5 months ago

Looks like the script can't find the element: "icon.icon--Downloadable".

I'm running the odysee_channel_downloader.py

Enter odysee channel URL: https://odysee.com/@Elif:a

Navigating to https://odysee.com/@Elif:a

Traceback (most recent call last): File "odysee_channel_downloader.py", line 39, in w.until(ExpectedConditions.presence_of_element_located((By.CLASS_NAME, fileLinkSelector))) File "/home/safaltayanamaha/.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py", line 95, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace: RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:189:5 NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:507:5 dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:132:16

ChillFam commented 5 months ago

Unfortunately, this script can only download files not videos from the channel. It seems that https://odysee.com/@Elif:a does not contain any files to download. I will add a check for this also and make it more clear in the description.

Alejoss commented 5 months ago

Oh I understand, do you have a script that can download videos?

ChillFam commented 5 months ago

I don't currently have such a script, however some work arounds are: