Skip to content

Commit

Permalink
Fix for #21 and #22
Browse files Browse the repository at this point in the history
Read the Changelog for more information...
  • Loading branch information
Xonshiz committed Oct 4, 2017
1 parent 02d6f92 commit 4d6a132
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
- Fix for special characters and #15 [2017.07.05]
- Episode Download Range supprt Added [2017.07.07]
- 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]
6 changes: 3 additions & 3 deletions anime_dl/sites/crunchyroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,11 @@ def wholeShow(self, url, cookie, token, language, resolution, skipper, episode_r
dub_list = []
ep_sub_list = []
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):
dub_list.append(str(url) + str(episode_link))
dub_list.append(str(url) + "/" + str(str(episode_link).split("/")[-1]))
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:
print("Could not find the show links. Report on https://github.com/Xonshiz/anime-dl/issues/new")
Expand Down
2 changes: 1 addition & 1 deletion anime_dl/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Format : YY/MM/DD
__version__ = "2017.07.24"
__version__ = "2017.10.04"
3 changes: 2 additions & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
- Fix for special characters and #15 [2017.07.05]
- Episode Download Range supprt Added [2017.07.07]
- 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]
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
argparse
cfscrape
bs4
tqdm

0 comments on commit 4d6a132

Please sign in to comment.