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

[shahid] Add support for shows/playlists #7401

Closed
nedz14 opened this issue Nov 7, 2015 · 9 comments
Closed

[shahid] Add support for shows/playlists #7401

nedz14 opened this issue Nov 7, 2015 · 9 comments
Labels

Comments

@nedz14
Copy link

@nedz14 nedz14 commented Nov 7, 2015

any chance to Add support for https://shahid.mbc.net/ar/shows.html
thanks.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 7, 2015

What should be downloaded from this URL?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 7, 2015

So your request is to download all videos of the show as playlist?

@nedz14
Copy link
Author

@nedz14 nedz14 commented Nov 7, 2015

yes please if possible.

@dstftw dstftw changed the title Request:support for shahid.mbc.net [shahid] Add support for shows/playlists Nov 7, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 7, 2015

Individual videos are already supported.

@nedz14
Copy link
Author

@nedz14 nedz14 commented Nov 7, 2015

yes, i just try it.
thank u dstftw.

@jaimeMF jaimeMF added the request label Nov 8, 2015
@kim0
Copy link

@kim0 kim0 commented Jan 25, 2016

Downloading from "shows" sounds a little too aggressive to me, however I do hope we'll be able to support episodes from a season, example link
https://shahid.mbc.net/ar/series/127907/%D8%A3%D8%B1%D9%8A%D8%AF-%D8%B1%D8%AC%D9%84%D8%A7.html

@kim0
Copy link

@kim0 kim0 commented Jul 26, 2016

@dstftw .. Just to be clear, the actual episodes are those in div with class "slider clips" on this for example: https://shahid.mbc.net/ar/series/141409/%D9%88%D8%B9%D8%AF.html

If there's no intention to fix this, can someone at least guide me how to modify the python code to add such functionality. Thanks for a great tool!

@kim0
Copy link

@kim0 kim0 commented Jul 26, 2016

I just tried my hand with the following beautifulsoup code

[e['href'] for e in soup.select_one(".slider").select("a")]

where soup is the whole html loaded. It seems to get direct links to all the episodes, or at least the ones between episode 7-30 .. The ones before 7, seem to be loaded dynamically after you click the little left javascript arrow (sic) .. Unfortunately, I have no idea how to simulate that click in python! Any help is most welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.