Python – Getting HTML with DOM

The other day I encountered a scenario where I needed to get HTML with Python, but only after Javascript had finished running. I accomplished this using the selenium driver. Download selenium with¬†pip install selenium Download the driver for the browser you want to emulate. You can download them from this page. The driver must be […]

How to: Unicode in URL with Python 3

I found this to be much more difficult than I thought it would be. The solution was simple, but finding it was a bit of a pain. Here is the solution: Extremely simple, but it caused me a fair amount of headache to¬†figure that out. Common errors that might bring you to this post: AttributeError: […]