Python Getting All Links From Page Receiving Javascript Void Error

Python Getting All Links From Page Receiving Javascript Void Error