Fix for #21 and #22

Read the Changelog for more information...
master
Dhruv Kanojia 2017-10-04 07:03:43 +05:30
parent 02d6f92d82
commit 4d6a132c92
5 changed files with 10 additions and 6 deletions

View File

@ -19,4 +19,5 @@
- Fix for special characters and #15 [2017.07.05] - Fix for special characters and #15 [2017.07.05]
- Episode Download Range supprt Added [2017.07.07] - Episode Download Range supprt Added [2017.07.07]
- Added support to include fonts in the muxed videos [2017.07.09] - Added support to include fonts in the muxed videos [2017.07.09]
- Changed mkvmerge.exe to mkvmerge to support Non-Windows Operating Systems [2017.07.24] - Changed mkvmerge.exe to mkvmerge to support Non-Windows Operating Systems [2017.07.24]
- Fix for #21 and #22 [2017.10.04]

View File

@ -360,11 +360,11 @@ class CrunchyRoll(object):
dub_list = [] dub_list = []
ep_sub_list = [] ep_sub_list = []
for episode_link, episode_type in re.findall( for episode_link, episode_type in re.findall(
r'\<a href\=\"\/(.*?)\"\ title\=\"(.*?)\"\ class\=\"portrait\-element\ block\-link', str(page_source)): r'\<a href\=\"\/(.*?)\"\ title\=\"(.*?)', str(page_source)):
if "(Dub)" in str(episode_type): if "(Dub)" in str(episode_type):
dub_list.append(str(url) + str(episode_link)) dub_list.append(str(url) + "/" + str(str(episode_link).split("/")[-1]))
else: else:
ep_sub_list.append(str(url) + str(episode_link)) ep_sub_list.append(str(url) + "/" + str(str(episode_link).split("/")[-1]))
if len(dub_list) == 0 and len(ep_sub_list) == 0: if len(dub_list) == 0 and len(ep_sub_list) == 0:
print("Could not find the show links. Report on https://github.com/Xonshiz/anime-dl/issues/new") print("Could not find the show links. Report on https://github.com/Xonshiz/anime-dl/issues/new")

View File

@ -1,2 +1,2 @@
# Format : YY/MM/DD # Format : YY/MM/DD
__version__ = "2017.07.24" __version__ = "2017.10.04"

View File

@ -19,4 +19,5 @@
- Fix for special characters and #15 [2017.07.05] - Fix for special characters and #15 [2017.07.05]
- Episode Download Range supprt Added [2017.07.07] - Episode Download Range supprt Added [2017.07.07]
- Added support to include fonts in the muxed videos [2017.07.09] - Added support to include fonts in the muxed videos [2017.07.09]
- Changed mkvmerge.exe to mkvmerge to support Non-Windows Operating Systems [2017.07.24] - Changed mkvmerge.exe to mkvmerge to support Non-Windows Operating Systems [2017.07.24]
- Fix for #21 and #22 [2017.10.04]

View File

@ -1,2 +1,4 @@
argparse argparse
cfscrape cfscrape
bs4
tqdm