Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Episode range not working? #18

Closed
wjbraden opened this issue Jan 19, 2021 · 6 comments
Closed

Episode range not working? #18

wjbraden opened this issue Jan 19, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@wjbraden
Copy link

Hi, I first off want to thank you for the great program. It seems I'm having an issue when it comes to downloading an episode range. (I also want to preface that I know hardly anything about this kind of stuff so please bare with me... haha).

PS D:\Downloads\wco-dl-2020-11-10> ._main_.exe -i https://www.wcostream.com/anime/one-piece-english-dubbed-guide -x specials,movies -epr 1-574
Settings Loaded.
Downloading show
Traceback (most recent call last):
File "main.py", line 12, in
class Main:
File "main.py", line 73, in Main
Lifter(url=args.input[0], resolution=args.highdef, logger=logger, season=args.season,
File "Lifter.py", line 52, in init
self.download_show(url)
File "Lifter.py", line 166, in download_show
range(int(ep_range.split('-')[0]), int(ep_range.split('-')[1]) + 1)]
AttributeError: 'list' object has no attribute 'split'
[18600] Failed to execute script main

Any ideas why this may not be working?

@iiEpic
Copy link
Owner

iiEpic commented Jan 22, 2021

Possibly. I think I've fixed this in my newest update but that update is only on the Dev branch right now. Sorry I was thinking of my other project "MyAnimeDownloader" which is a complete rebuild of this script. I'd recommend trying that but I can fix this one as well. Give me a couple minutes to see what I can do!

Let me create a new exe file and upload it for you. It should be up soon, if not I'll most certainly have it up this weekend for you.

Thank you for using it! Glad you like it!

@iiEpic iiEpic self-assigned this Jan 22, 2021
@iiEpic iiEpic added the bug Something isn't working label Jan 22, 2021
@iiEpic
Copy link
Owner

iiEpic commented Jan 22, 2021

I am unable to test the Windows version at this time because I'm currently on my Linux machine. However I've run your same command on my machine and it worked awesomely.

Please attempt to use the attached file. If it does not work then you'll have to wait until I am able to get on my Windows Machine to create the EXE file on it. Please let me know
patch.zip

@wjbraden
Copy link
Author

wjbraden commented Jan 22, 2021 via email

@iiEpic
Copy link
Owner

iiEpic commented Jan 22, 2021

Hi,

Thanks for your help! Unfortunately, it seems like it didn't work as it
gave me this error:

PS D:\Downloads\wco-dl-2020-11-10> ._main_.exe -i One Piece --epr 1-2
Program 'main.exe' failed to run: The specified executable is not a
valid application for this OS platform.At
line:1 char:1

  • ._main_.exe -i One Piece --epr 1-2

At line:1 char:1

  • ._main_.exe -i One Piece --epr 1-2
  •   + CategoryInfo          : ResourceUnavailable: (:) [],
    

ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed

On Thu, Jan 21, 2021 at 8:31 PM _iEpic notifications@github.com wrote:

I am unable to test the Windows version at this time because I'm currently
on my Linux machine. However I've run your same command on my machine and
it worked awesomely.

Please attempt to use the attached file. If it does not work then you'll
have to wait until I am able to get on my Windows Machine to create the EXE
file on it. Please let me know
patch.zip https://github.com/EpicUnknown/wco-dl/files/5853041/patch.zip


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#18 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOVOFYG67ZGTFUTCXCW7LKTS3DINZANCNFSM4WJLY7VA
.

Yeah I was worried it would do that. When I get home tonight I'll compile it on my Windows Machine and push a new exe for everyone.

@iiEpic
Copy link
Owner

iiEpic commented Jan 27, 2021

Sorry it took so long but this issue is now fixed :D I had a chance to test it on my windows machine and ran into no issues. Please let me know if you find anything else broken and I'll do my best to fix it up!

@iiEpic iiEpic closed this as completed Jan 27, 2021
@wjbraden
Copy link
Author

wjbraden commented Jan 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants