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

No such file or directory #10

Open
gamegoofs2 opened this issue Oct 1, 2021 · 1 comment
Open

No such file or directory #10

gamegoofs2 opened this issue Oct 1, 2021 · 1 comment

Comments

@gamegoofs2
Copy link

When running the program every image it is suppose to be analyzing outputs

[Errno 2] No such file or directory: '/home/kali/Desktop/shotlooter/output/sdl1gl.png'

@phoreverpheebs
Copy link

All you have to do to fix it is change the "user-agent" on line 47 <3

Try this value: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

So it should look something like this:

headers = {
    'cache-control': 'max-age=0',
    'upgrade-insecure-requests': '1',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0',
    'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
    'accept-encoding': 'gzip, deflate',
    'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8'
}

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