This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[crunchyroll] Remove NOP code (
#2782
)
totalwebcasting
Philipp Hagemeister
10 years ago
parent
c735450e07
commit
0cc8888038
1 changed files
with
0 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
youtube_dl/extractor/crunchyroll.py
+ 0
- 2
youtube_dl/extractor/crunchyroll.py
View File
@ -264,8 +264,6 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
if
not
lang_code
:
if
not
lang_code
:
continue
continue
sub_root
=
xml
.
etree
.
ElementTree
.
fromstring
(
subtitle
)
sub_root
=
xml
.
etree
.
ElementTree
.
fromstring
(
subtitle
)
if
not
sub_root
:
subtitles
[
lang_code
]
=
'
'
if
sub_format
==
'
ass
'
:
if
sub_format
==
'
ass
'
:
subtitles
[
lang_code
]
=
self
.
_convert_subtitles_to_ass
(
sub_root
)
subtitles
[
lang_code
]
=
self
.
_convert_subtitles_to_ass
(
sub_root
)
else
:
else
:
Write
Preview
Loading…
Cancel
Save