I'm trying to create a scraping script in Python 2.7.
The request is ok, but I have a hard time trying to parse this table with Beautiful soup. I've tried a lot, and searched a lot on the forum, but nothing works for me, my first time doing this.
Here is the code :
import requests, os
from bs4 import BeautifulSoup
url='http://fse.vdkruijssen.eu/ferrylist.php' params={'selectplane':'Cessna 208 Caravan','submit':''}
response=requests.post(url, data=params)
soup = BeautifulSoup(response.text, "html5lib")
table=soup.find('table')
print table
But this is not returning any table. I'm trying to retrieve the first and the last column at least.