On 6/14/19 12:35 AM, Sijin John wrote: > Hello Sir/Mam, > I am trying to Download audios & videos using web scraping from news website > (eg: https://www.bbc.com/news/video_and_audio/headlines) or Facebook & I > could't. So in real scenario is it really possible to download audios/videos > using python code ?
as others have pointed out, remove the "using python code" from this question to be more accurate. Modern media-serving websites often try quite hard to not have you be able to grab the media objects except on their terms. This often means they are delivered in a streaming manner through a (non-open) player app, and there never is a file at all that you're allowed to directly access. And there's often some wrapping which ends up delivering advertising, because that's probably how the site monetizes their content. If you're expected to access it, there's usually an API for that, which you would use rather than scraping. Obviously people figure out ways, as the youtube downloader shows. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor