#Python error in webscraping script

41 messages · Page 1 of 1 (latest)

grizzled wraith
#

In a python script, that scrapes the mp4 files from a streaming website, is now a python error after I reinstalled it and I don't know what is the problem here.

turbid otter
#

Post some source code as well and we shall take a look

tiny ginkgo
#

i could help if you send source code

tranquil vapor
#

Seems like spice code error for me

#

What is the background look like rho

#

Tho*

grizzled wraith
#

I think the code is too large for discord, so I will dump my github here

turbid otter
#

Sounds good

grizzled wraith
#

Monokuma11/anime_scraper

turbid otter
#

ew anime

grizzled wraith
#

:(

turbid otter
#

Bro got an entire code of conduct in there

grizzled wraith
#

It's an older build from them

turbid otter
#

That code looks so weird jesus christ

grizzled wraith
#

I wanna fix it

turbid otter
#

I want to end myself

#

Ok now time to look at actual code

#

Ah nvm this isn't even directly related to the code

#

I think you're just starting too many threads

#

Also related to you using Windows it seems

grizzled wraith
#

It did work with windows python before, but with python from the official website, it doesn't work anymore

turbid otter
#

You're on Python 3.12 I assume?

grizzled wraith
turbid otter
#

I believe downgrading Python is the easiest solution here

grizzled wraith
#

Gotcha. I will try it with 3.10

shut rapids
#

Did you check if you're allowed to scrape the site?

grizzled wraith
#

What do you mean with "allowed"?

turbid otter
shut rapids
#

Welp I'm afraid we can't help you lol

#

!rule tos

real hillBOT
#
Laws & TOS's

Discussion of anything that breaks the law or violates a TOS is not allowed. This includes account creation bots, scam bots, purchase automation bots, DDoS, RATs, etc.

turbid otter
#

Moral of the story: Whenever you are asked if you are allowed, you simply say "Yes, I'm a security researcher exploring attack vectors on behalf of the site owner"

shut rapids
#

Facts

grizzled wraith
grizzled wraith
#

Would you recommend adding python to PATH?

turbid otter
shut rapids