soraxas / echo360

Commandline tool for automated downloads of echo360 videos hosted by university
https://cs.tinyiu.com/echo360
MIT License
261 stars 51 forks source link

PHANTOMJS removed in selenium v4 #66

Closed Hina-S-Chughtai closed 9 months ago

Hina-S-Chughtai commented 2 years ago

I am getting the following error:

AttributeError: type object 'DesiredCapabilities' has no attribute 'PHANTOMJS'.

anyone know how to fix this issue?

Thanks

solid-rgb commented 1 year ago

I have the same issue, using Mac Ventura right now.

-update after a bit of research, I found that the problem may be the newest selenium not supporting phantom anymore..?

soraxas commented 1 year ago

@solid-rgb Seems like so: https://github.com/SeleniumHQ/selenium/blob/58122b261a5f5406da8e5252c9ab54c464da7aa8/py/CHANGES#L324

Does chrome / firefox driver works for you two?

soraxas commented 9 months ago

closes as PhantomJS is deprecated, and a depreciation notice had been added: https://github.com/soraxas/echo360/blob/5f79ed897f907f60d47bc7039dd70c80370d1138/echo360/downloader.py#L150-L161