SE-2634 Fix crashes in yt_video_metadata

Description

  • yt_video_metadata returned a generic non-json-api-friendly 500 error
    when called on a non-youtube video

  • load_metadata_from_youtube was crashing when called from the xblock
    yt_video_metadata endpoint. It passes a webob request, which has a
    different api for retrieving the http referer.

WIP: implementation mostly done, but might also need to add tests.

Assignee

David Ormsbee

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Samuel Walladge

Repo

edx/edx-platform

Customer

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

Priority

Unset
Configure