YouTube deprecation feature is behind a course waffle flag `videos.deprecate_youtube` – example usage. The feature's implementation details can be iterated through Youtube Deprecation.
There is one dependency that is keeping YT deprecation from full rollout, it is HLS re-encoding for courses whose videos are missing HLS profile – stats and approach.
is currently tracking this work to date. Jira Legacy server System JIRA serverId 13fd1930-5608-3aac-a5dd-21b934d3a4b4 key EDUCATOR-3744
Running and Monitoring re-encoding/backfill job
...
Code Block | ||||
---|---|---|---|---|
| ||||
def get_course_ids(limit, offset): course_ids = [] with open('courses.txt', 'r') as courses_file: raw_courses = courses_file.read().split('|') for raw_course in raw_courses: course_id = raw_course.strip() if course_id: course_ids.append(course_id) course_ids = sorted(course_ids)[offset: offset+limit] return ' '.join(course_ids) |
Thank you.