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

Please enter the required arguments. Run __main__.py --help #5

Closed
amirnoxik opened this issue Apr 9, 2017 · 16 comments
Closed

Please enter the required arguments. Run __main__.py --help #5

amirnoxik opened this issue Apr 9, 2017 · 16 comments

Comments

@amirnoxik
Copy link

Subject :
Please enter the required arguments. Run main.py --help

Command Line Arguments You Gave :
main.py -i "http://www.crunchyroll.com/the-royal-tutor/episode-1-the-royal-tutor-arrives-733961" -u "my username" -p "my password" -r "default"

Long Explanation :
I have done all the steps. but , when i want to start downloading using Python Script, I enter the line argument Above, The download should begin, but i get this msg
Please enter the required arguments. Run __main__.py --help
the same msg i see when i open anime-dl.exe

@Xonshiz
Copy link
Owner

Xonshiz commented Apr 9, 2017

you don't have to specify the -r argument if you want 720p. default = 720p denotes that if you don't pass the -r argument, that is what the script will take.

And if you're using the python script, you need to call __main__.py, instead of main.py. So, your command should be like :

__main__.py -i "http://www.crunchyroll.com/the-royal-tutor/episode-1-the-royal-tutor-arrives-733961" -u "my username" -p "my password"

Let me know what's the result either way...

@amirnoxik
Copy link
Author

same : Please enter the required arguments. Run __main__.py --help
what is the

the required arguments !!

@amirnoxik
Copy link
Author

i'm using python 3.6

@Xonshiz
Copy link
Owner

Xonshiz commented Apr 9, 2017

Please give me a minute to confirm this on my end.

@amirnoxik
Copy link
Author

okey take ur time sir

@Xonshiz
Copy link
Owner

Xonshiz commented Apr 9, 2017

I just ran this on my Python 3.5 and it's running just fine. Check here :

Clipboard image 2017 04 09 19 10 33

@amirnoxik
Copy link
Author

mmmm
i will delete everything and try again

@Xonshiz
Copy link
Owner

Xonshiz commented Apr 9, 2017

No, wait. I have python 3.6 as well. Let me try on it as well.

@amirnoxik
Copy link
Author

okey i'm waiting

@Xonshiz
Copy link
Owner

Xonshiz commented Apr 9, 2017

Okay, so I checked it on Python 3.6 and it's working. It's not showing the argument error, as it's showing you. However, there's some other internal script error that it's showing. So, I will advice you to install Python 3.5 as well in your environment and run this script via that, at least for the time being. I'm afraid that I'm a little busy till June. But, I'll try to port this on Python 3.6 as soon as I get time.

@Xonshiz Xonshiz closed this as completed Apr 9, 2017
@Xonshiz Xonshiz reopened this Apr 9, 2017
@amirnoxik
Copy link
Author

okeey thank you very much i will try with 3.5

@amirnoxik
Copy link
Author

hi
i just run it on 3.5
the arguments prblm disappear
but now
after trying to login..
i get this
Sans_titre

@amirnoxik
Copy link
Author

node.js ?

@amirnoxik
Copy link
Author

i installed node.js and it's working :o :o 👍
thanx

@Xonshiz
Copy link
Owner

Xonshiz commented Apr 9, 2017

AH, yes. You now need node.js to run this. cfscrape uses nodejs. I completely forgot. Thank you for reminding, I have to update this. But, if you use the windows binary that's uploaded right now, you wouldn't need node.js ;)

@Xonshiz Xonshiz closed this as completed Apr 9, 2017
@amirnoxik
Copy link
Author

oh yeah sure ... anyway thank you for everything o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants