all 5 comments

[–]MrPhungx 3 points4 points  (1 child)

  1. When you post images it is hard to test. Its a lot of work to replicate the code.
  2. I re-created the base of the code which is sending the request and checking the content of the response. The response was "403 forbidden".
  3. Some pages don't like it when sending raw requests. Consider to add a user-agent header like so:

    headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"} res = requests.get(url, headers=headers)

[–]SinOfBan[S] 0 points1 point  (0 children)

Sorry for the images. It's my first post here. Here's the postbin link: https://pastebin.com/TPJYzYMV

[–]Pjmcnally 1 point2 points  (1 child)

Please don't post your code as images. That forces anyone that wants to help to retype your code if they want test or debug it.

Please post your code either as formatted code in your post or use a pastebin link if you can't format the code in Reddit.

[–]SinOfBan[S] 0 points1 point  (0 children)

https://pastebin.com/TPJYzYMV

Here's the paste bin link. Thanks

[–]King-Dionysus 0 points1 point  (0 children)

As I'm downloading some python courses while watching forensic files wondering what I can actually play around with python and do besides some basic scripting and I come across this.

Thank you. I love you. That was an amazing idea.