Konstantin Chukeev
Konstantin Chukeev

Reputation: 1

Downloading URL in Python without urllib

I have a problem in downloadig URL.

I need to download webpage with the table. When I get .html file with the help of urllib or urllib2, it has some problems connected with javascript (or same languages). There's only source code such as id_name e.t.c, but it don't have any table information (columns and rows).

Nevertheless, when I save .html in Google Chrome, it actually has information in table (not source code, but columns and rows). So what should I do to make it in Python?

Upvotes: 0

Views: 101

Answers (1)

DreadfulWeather
DreadfulWeather

Reputation: 738

You can use selenium to simulate browser. It will execute javascript then you can get the information you want

Upvotes: 2

Related Questions