Syntax error for random_user_agents
NFTsibeiho opened this issue · 6 comments
Describe the bug
I know this might sound very straightforward to many, but for a noob like me it gave me quite a nightmare for a while.
import random_user_agents gives me a syntax error.
I finally realised I had to use import random_user_agent
The collection you were trying to download
Its downloading really great now!
Expected behavior
A clear and concise description of what you expected to happen.
Terminal output (please show the error that the console showed)
paste here
@NFTsibeiho First of all, this isn't a bug. The script never contained the line import random_user_agents
. It has always been import random_user_agent
. The only way you'd be getting such an error is if you modified the script.
Secondly, how are you getting a syntax error, when the issue was a module that doesn't exist?
Lastly, why create a bug report when your issue was resolved?
This is not a valid bug report.
lol. Sorry im really noob in this python thing. Anyways the import random_user_agents is from your README.md
Btw the script is working really well! Thanks so much for sharing this!
lol. Sorry im really noob in this python thing. Anyways the import random_user_agents is from your README.md
It's alright. The README.md doesn't say to use import random_user_agents
, it says to install the pip package, using pip install random_user_agents
. In the future, just remember, if you already solved your issue, don't create a bug report.
ok got it. Thanks!