iiEpic / wco-dl

Educational Use Only
MIT License
31 stars 11 forks source link

Episode range not working? #18

Closed wjbraden closed 3 years ago

wjbraden commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

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 https://github.com/EpicUnknown/wco-dl/issues/18#issuecomment-765052681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOFYG67ZGTFUTCXCW7LKTS3DINZANCNFSM4WJLY7VA .

iiEpic commented 3 years ago

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 https://github.com/EpicUnknown/wco-dl/issues/18#issuecomment-765052681, 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 commented 3 years ago

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!

wjbraden commented 3 years ago

Awesome, thanks!

On Tue, Jan 26, 2021, 7:22 PM _iEpic notifications@github.com wrote:

Closed #18 https://github.com/EpicUnknown/wco-dl/issues/18.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EpicUnknown/wco-dl/issues/18#event-4253335432, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOFYBJZGGI7CR4W2PPVN3S35MELANCNFSM4WJLY7VA .