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

Site Support Request: http://www.schooltube.com/ (SchoolTube) #13091

Open
wertercatt opened this issue May 15, 2017 · 2 comments
Open

Site Support Request: http://www.schooltube.com/ (SchoolTube) #13091

wertercatt opened this issue May 15, 2017 · 2 comments

Comments

@wertercatt
Copy link

@wertercatt wertercatt commented May 15, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.14. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.05.14

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Metadata extractable from single video page:

  • The title can be extracted from the "og:title" meta tag.
    Example: <meta property="og:title" content="Half-Life Snacks"/>
  • The description can be extracted from the "description" or "og:description" meta tags.
    Example: <meta name="description" content="Award of Excellence at the 2009 Northwest High School Film Festival: Documentary Category "/>
    Example 2: <meta property="og:description" content="Award of Excellence at the 2009 Northwest High School Film Festival: Documentary Category "/>
  • The tags can be extracted from the "keywords" meta tag.
    Example: <meta name="keywords" content="Northwest High School Film Festival">
  • The view count, upload date, upload user, and organization can be extracted from the "video-meta-data" HTML class
    Example:
                    <div class="video-meta-data">
                        <div class="view-count">4,826 views</div>
                        <div>Uploaded on Aug 15, 2009</div>
                        <div>by nwhsff (Teacher)</div>
                        
                            <div>
                                <a href="/organization/211565/">
                                    Mount Si High School
                                </a>
                            </div>
                        
                    </div>
  • The upload date can also be retrieved from the Last-Modifed headers of the video file or thumbnail. (Which the generic extractor is able to locate within the page currently.)
  • Video ID is located in the URL for individual video pages, after the /video/ part of the url but before the video's title.
    Example: For the URL "http://www.schooltube.com/video/dc30fcfe08864571af1f/Half-Life Snacks" the ID is "dc30fcfe08864571af1f"
  • On the channel pages with embedded videos, the video link can be found within the JavaScript "jwplayer("schooltube-video").setup" element. Specifically, it can be found within the "logo" array after "link : "
    Example:
    jwplayer("schooltube-video").setup({
        width: '768',
        height: '460',
        primary: 'flash',
        logo: {
            file : '/static/newui/img/stlogo-white-watermark.png',
            link : 'http://www.schooltube.com/video/fecf2209d68c474190ba/Recycling'
        },
        playlist: [{
            image: "http://schooltube_encoded.s3.amazonaws.com/thumb/3b/02/70/dc/37/2d/3b0270dc-372d-11e7-a7e5-001c23dcdfb5_01.jpg",
            sources: [
             {
                file: "http://encoded.cdn.schooltube.com/3b/02/70/dc/37/2d/3b0270dc-372d-11e7-a7e5-001c23dcdfb5.mp4",
                width: 640,
                height: 360
            }
            
            ]
        }],
        related: {
            file: '/related/fecf2209d68c474190ba'
        },
        sharing: {
            link: "http://bit.ly/2psyNfb",
            code: '<iframe width="500" height="375" src="http://www.schooltube.com/embed/fecf2209d68c474190ba" frameborder="0" allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"></iframe>'
        }
    });
@dkl3
Copy link

@dkl3 dkl3 commented May 27, 2017

The generic extractor works in the meantime:

youtube-dl "http://www.schooltube.com/video/ae65d211000a45d292fe/13.%20Pringle's%20Rocket%20-%20Ethan"

Put url in quotes.

@wertercatt
Copy link
Author

@wertercatt wertercatt commented May 28, 2017

Yeah, but I'd like for it to be able to extract the metadata as well.

@flomk flomk mentioned this issue Jun 29, 2017
4 of 8 tasks complete
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
3 participants
You can’t perform that action at this time.