Skip to content

Commit

Permalink
comments removed
Browse files Browse the repository at this point in the history
comments removed
  • Loading branch information
Xonshiz committed Apr 29, 2018
1 parent e2d37d6 commit 3ac9bbc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions anime_dl/sites/crunchyroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ def singleEpisode(self, url, cookies, token, resolution):
print("No RTMP Streams Found...")
print(NoRtmpDump)
else:
# anime_name = str(re.search(r'<series_title>(.*?)</series_title>', xml_page).group(1)).replace("\xc3\xa2\xc2\x80\xc2\x99", "").replace(":", "")
anime_name = re.sub(r'[^A-Za-z0-9\ \-\' \\]+', '', str(
re.search(r'<series_title>(.*?)</series_title>', xml_page).group(1))).title().strip()
episode_number = re.search(r'<episode_number>(.*?)</episode_number>',
Expand Down Expand Up @@ -300,7 +299,6 @@ def singleEpisode(self, url, cookies, token, resolution):

subs_files = self.duplicate_remover(subtitles_files)
logging.debug("subs_files : %s", subs_files)
# --attachment-name trebucit.ttf --attachment-mime-type application/x-truetype-font --attach-file ^"G:\Fonts\trebucit.ttf

font_files = [os.path.realpath(font_file) for font_file in
glob(str(os.getcwd()) + "/Fonts/*.*")]
Expand Down

0 comments on commit 3ac9bbc

Please sign in to comment.