javascript - How to download a play-on-click audio file in Python -


i'm trying download foreign-language recordings en masse list of words have. i've been using source code en.bab.la find definitions automatically, , ideally extract audio same source. quick @ source code any word shows (assuming i've understood right) there isn't "download this" button sends link audio file, easier , had been using other websites.

on actual site word, under "translations & examples" there's little audio button; when hover on it, says javascript:babspeakit('swedish',52579,'gard'); , that's searched in source code, , though gets blue underline it's link, doesn't lead anywhere.

essentially, question: how can use python download audio plays on click?

thank you!

p.s. - i'm using python 3.6 in pycharm community edition on ubuntu 16.04:)

you have examine javascript code being called on click event. see , how. have find out how passes audio data browser.

then have replicate behaviour in python. i.e. must make right call right url. or more of them. data.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -