Python, Selenium, Beautiful soup and Pandas

Devcult - 6G and Satellites
1 min readMar 27, 2019

--

Day 1

File download with Selenium

I have been working on selenium for the past couple of days when I stumbled on a problem. My proxy network doesnot support running webdriver in headless mode! As if that was not enough, I’m having trouble downloading files with selenium since my webpage has multiple hrefs. Is it event possible to download files using selenium? I haven’t explored that yet.

The data from my webpage can contain non-English Characters also. So I’m calling google translate python module for autotranslate.

Day2

I have successfully implemented a script which:

  1. Launch web browser
  2. Search for particular id’s and get the corresponding text
  3. Click on downloadable elements

But I’ve some trouble finding dynamic content and sending elements to the web page. I’m using ‘actions’ package. But it does not implement the functionality that I have intended.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Devcult - 6G and Satellites
Devcult - 6G and Satellites

No responses yet

Write a response