H
H
hardwellZero2015-02-06 01:03:31
Python
hardwellZero, 2015-02-06 01:03:31

How to download a file if the link is generated by JS?

Hello.
I plan to write a script that will download torrent files from the site - www.lostfilm.tv/browse.php?cat=235
As I understand it, for this I will need to log in to the site, and then what?
Do I need to use urllib for this? Or is there something more suitable?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Andrey Gurtovoy, 2015-02-06
@jt3k

ask the site developers

S
Sergey Ozeransky, 2015-02-06
@KREGI

Look at the ShowAllReleases JS function, what it does and what parameters it takes, and it will become clearer to you how to download.

I
index0h, 2015-02-06
@index0h

Use PhantomJS Luke!

U
uvelichitel, 2015-02-06
@uvelichitel

api.myshows.ru well, not lostfilm, but an intelligible API

E
egorsmkv, 2015-02-06
@egorsmkv

Use the requests library for authorization, and then use lxml to select links using xpath requests and download them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question