I try to crawl this page of crédit suisse (It's an exercice for me).
So I made this script, but I don't know how to get the data. I thought it is an iframe problem, but, it's not. Then I thought it is an AngularJS website, but I think it's not.
So my code is :
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
driver.get("https://tas-creditsuisse.taleo.net/careersection/campus/moresearch.ftl?lang=fr-FR")
iframe = driver.find_element_by_xpath("//iframe[@id='ftlhiddenframe']")
thepage = driver.switch_to.frame(iframe)
webpage = ""
webpage = driver.page_source
webpage = "<body>"+webpage+"</body>"
import os
helloFile = open('C:\\Users\\Thie\\Desktop\\cs.html', 'w')
helloFile.write(webpage)
helloFile.close()
driver.close()
Somebody can give me the way to get this webpage? Thanks a lot for your help.
The solution would be to make like the firefox inspector like on the picture below (select the TBody and save it in a file):
