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

Bro i got this error please help #11

Open
furkanshaikh313 opened this issue Dec 28, 2023 · 0 comments
Open

Bro i got this error please help #11

furkanshaikh313 opened this issue Dec 28, 2023 · 0 comments

Comments

@furkanshaikh313
Copy link

I got this error while trying to setup the scraper

C:\Users\HP\Desktop\internship>python -u "c:\Users\HP\Desktop\internship\AmazonMe-master\AmazonMe-master\main.py"
Traceback (most recent call last):
File "c:\Users\HP\Desktop\internship\AmazonMe-master\AmazonMe-master\main.py", line 39, in
results = asyncio.run(main())
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "c:\Users\HP\Desktop\internship\AmazonMe-master\AmazonMe-master\main.py", line 13, in main
status = await Amazon(base_url, None).status()
^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\HP\Desktop\internship\AmazonMe-master\AmazonMe-master\scrapers\scraper.py", line 58, in init
self.scrape = yaml_load('selector')
^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\HP\Desktop\internship\AmazonMe-master\AmazonMe-master\tools\tool.py", line 335, in yaml_load
with open(f"scrapers//{selectors}.yaml") as file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'scrapers//selector.yaml'

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

1 participant