i tried Scrapy or bs4 they don't work.
i like to download automatically without human intervention.
video loads from Java script when ever i open inspection tool in Firefox its freeze that webpage. How can i download and save video.
after that i like to upload all of video to my google drive which has unlimited storage.
i want using lots of heroku servers to download this.
only in python, scripts.
could you point me some direction.
Related
There is a database of audio files that will be stored in the S3 storage. The functionality of the site implies their playback, but not downloading. What can I do so that the file can't be downloaded just by getting a link to it from inspect browser.
The backend is written with Django REST API, the frontend with Nuxt.
I would be grateful for help in the direction of thought.
Now some advanced users can get a link directly to the audio file and download it, although only the playback functionality of the site is shown. This is possible by using inspect(F12) and further tracking the change of content on the page when you click on the "play" button.
im working on integrating zoom into my application and im stuck at a certain point.
So basically i want to get the zoom recordings of a user and download it into my aws s3 bucket.
using the zoom api to get recordings give you two links, a play link which leads you into zoom ui with the video of the recording and a download link. I want the users zoom recordings to play on my website using my ui, therefore i need to use the download link. Therefore i want to use my back end server (node) to get the download link and download the file then upload the file to aws.
Is that in anyway possible? or is there another way i could go about this problem?. Please i am in dire need of this help.
Thanks.
I'm trying to write a python script to record and save segments of a live stream for research purposes. I know how to do it for mainstream platforms such as YouTube, but I'm not sure how to do it on this site.
Here's the video link:
http://cwwp2.dot.ca.gov/vm/loc/d3/hwy80atdonnersummit.htm
Thanks for your help!
Its not "recording" a video its just downloading. That site uses HLS. Any HLS downloader should work. But you need to get the URL form the m3u8 file.
Start by viewing the network tab of the browser, and the sites source code, You can then see how the browser plays it, then develop your script from that.
I used a chrome extension to download files on site, I want to know if I can create a Python Selenium script to do the same action like what in chrome extension? is it difficult?
While this is possible it's probably not a great practice...
I am not that comfortable with python or python-selenium;
However I do understand that if it's a web driver then there probably is a way to get this accomplished, look around for Python Selenium file download API on google.
Another aproach would be to make two apps that communicate with eachother - one made with html, css, javascript, php, etc to find the name of a file on a webpage.
Then message this to python (once again not sure how to do this, it's probably on google somewhere) once the file name on the website and website name are passed to python then put them together with something like this (javascript variable joining in context example):
...
var example = pageurl_as_variable + "/" + file_name_as_variable;
some_download_function_defined_else-where(example);
...
then obviously download this as file...
Once again this isn't the best practice and you can't make a chrome extension with python due to security reasons, but as described in the example above you could make an app-hybrid and then run this on the target users computer.
There are a lot of ways to do this with just basic HTML and potentially JavaScript so your better off looking into a way to do it that way...
Here's some links to point you in the right direction:
How can I download a file from a link in HTML?
How can I download a file on a click event using selenium?
(couldn't find anything on passing messages between the apps in my 5-seconds of googling).
i'm trying to build a batch image downloader in chrome. Basically, i will overlay a small download square to each image on the page and user clicks on it to download. Or the user can click to download all images on a page. I'm currently stuck on figuring out how to download the images. The best i can come up with is to use XHR to send the image to another server, the user can then retrieve it there.
If anyone have a solution for me. It would be much appreciated!
Jason
I believe you can XHR the images and using the File API you can store them locally.
Take a look at the following site http://www.html5rocks.com/features/file there are additional resources on the right column that has detailed examples and tutorials. Such as http://www.html5rocks.com/tutorials/file/filesystem/
Mohamed Mansour
This code will do the trick for you: https://gist.github.com/1049553
It's very simple usage of a 'feature' in chrome when you open an image in a new tab.