Update the get_transcript util with html5_sources - #17976
Conversation
|
Your PR has finished running tests. |
81d69e3 to
ec00c22
Compare
|
Your PR has finished running tests. |
1 similar comment
|
Your PR has finished running tests. |
f2b499e to
82d0968
Compare
c07d57a to
f5f2b19
Compare
|
Your PR has finished running tests. |
1 similar comment
|
Your PR has finished running tests. |
a24eb23 to
a28b9bb
Compare
|
Your PR has finished running tests. |
82d0968 to
d5758bd
Compare
a28b9bb to
e0cbe78
Compare
|
Your PR has finished running tests. |
|
jenkins run all |
|
Your PR has finished running tests. |
muhammad-ammar
left a comment
There was a problem hiding this comment.
LGTM 👍 just one minor comment
| except KeyError: | ||
| raise NotFoundError | ||
| possible_sub_ids = [youtube_id, sub, video.youtube_id_1_0] + get_html5_ids(video.html5_sources) | ||
| for sub_id in possible_sub_ids: |
There was a problem hiding this comment.
what about for sub_id in set(possible_sub_ids): to avoid duplicates?
There was a problem hiding this comment.
set reorders the element in ascending order which is what we don't want.
e0cbe78 to
b181e6b
Compare
|
jenkins run all |
|
Your PR has finished running tests. |
1 similar comment
|
Your PR has finished running tests. |
|
jenkins run all |
|
Your PR has finished running tests. |
1 similar comment
|
Your PR has finished running tests. |
|
jenkins run bokchoy |
|
jenkins run quality |
|
jenkins run python |
|
Your PR has finished running tests. |
|
jenkins run python |
|
Your PR has finished running tests. |
2 similar comments
|
Your PR has finished running tests. |
|
Your PR has finished running tests. |
|
jenkins run bokchoy |
|
jenkins run python |
1 similar comment
|
jenkins run python |
|
jenkins run bokchoy |
|
Your PR has finished running tests. |
|
@mushtaqak build passed and green |
|
Your PR has finished running tests. |
Update the get_transcript util with html5_sources
EDUCATOR-2746