Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bharat Acharya Education Site Support #16390

Open
shramanshraman opened this issue May 6, 2018 · 2 comments
Open

Bharat Acharya Education Site Support #16390

shramanshraman opened this issue May 6, 2018 · 2 comments

Comments

@shramanshraman
Copy link

@shramanshraman shramanshraman commented May 6, 2018

for example log into bharatacharyaeducation.com and log in using these credentials email : chinnu.akanksh@gmail.com pwd: bankai and choose 8086 as topic for watching videos and afterwards video will play...and how do I download these videos

@Vangelis66
Copy link

@Vangelis66 Vangelis66 commented May 7, 2018

Hello 😄

BAE is not supported directly in youtube-dl, so a specialised extractor would have to be created for that site; besides account credentials, the videos themselves, at least on desktop browsers, appear to be served in unencrypted MPEG-DASH streams, so, in theory, it should be possible 😉 ; anyone proficient in python (I'm not, sadly...) should be able to do it...

For non-programmers, here's a manual method:

  1. Use a Firefox based browser (sorry, I detest Google Chrome!) - for my tests, I used Fx ESR 52.7.4 32-bit
  2. After successfully loggin-in, choose your video-tutorial from the 8086 channel, e.g. Introduction to microprocessors
  3. Clicking on Watch Now!!! should take you to
    http://bharatacharyaeducation.com/index.php/video/view?id=31
    and the video should auto-start; PAUSE the video.
  4. Open Web Console (CTRL+SHIFT+K) and filter for mpd; you should find
    the DASH playlist (MPD, Media Presentation Description) in the results:

bae

i.e. https://bae.sgp1.digitaloceanspaces.com/videos/31/dash/f758e9a3df5b8216d7ee24c6332a2e9b.mpd

youtube-dl does support unencrypted DASH for VOD, so using something like

youtube-dl --console-title "https://bae.sgp1.digitaloceanspaces.com/videos/31/dash/f758e9a3df5b8216d7ee24c6332a2e9b.mpd" --no-part -o "Introduction to Microprocessors.mp4"

should be enough; first the video-only stream will download, once completed, the audio-only should follow; make sure you have ffmpeg installed so youtube-dl will be able to combine them into a single .mp4 file!

HOWEVER, it appears the streams are being throttled server-side, so in practice it'll take quasi-real-time to dump (and that for just the video-only stream), so others more experienced may suggest the co-use of an external downloader for the task...

[generic] f758e9a3df5b8216d7ee24c6332a2e9b: Requesting header
WARNING: Falling back on generic information extractor.
[generic] f758e9a3df5b8216d7ee24c6332a2e9b: Downloading webpage
[generic] f758e9a3df5b8216d7ee24c6332a2e9b: Extracting information
[dashsegments] Total fragments: 866
[download] Destination: Introduction to Microprocessors.fvideo_avc1_4.mp4
[download]   1.2% of ~657.68MiB at 126.23KiB/s ETA 01:49:00
@usuallyhomeless
Copy link

@usuallyhomeless usuallyhomeless commented Nov 12, 2019

any luck with downloading bharat acharya videos?

@ytdl-org ytdl-org deleted a comment Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from DineshKumarToppo Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from usuallyhomeless Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from immadiuttej Nov 24, 2019
@ytdl-org ytdl-org deleted a comment Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from immadiuttej Nov 24, 2019
@ytdl-org ytdl-org deleted a comment Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from immadiuttej Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from immadiuttej Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from rajshiv169 Nov 24, 2019
@ytdl-org ytdl-org deleted a comment from furkyto Nov 24, 2019
@ytdl-org ytdl-org locked and limited conversation to collaborators Nov 24, 2019
@remitamine remitamine changed the title Can someone tell me How do I download streaming .m4s videos Bharat Acharya Education Site Support Nov 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.