Latest Threads


Getting 'innertext does not exist on element' error – what am I missing? Alternatively, if you want a slight


API and Development    22 Replies

anonyTrekkerX, 31-08-2024, 03:11 AM

"Getting 'innertext does not exist on element' error – what am I missing?"

Ugh, driving me nuts here. Trying to scrape some text with Puppeteer/Playwright (or maybe just vanilla JS?), and boom—*"innertext does not exist on element"*.

Pretty sure I’m targeting the right element, but nope.

Is it a typo? Should I be using *innerText* (case-sensitive maybe?) or *textContent* instead?

Or is the element just not loaded yet? Tried adding a waitForSelector but still no luck.

Anyone else run into this? Feels like a dumb mistake but google ain’t helping much.

Thanks in advance!

(Also, if you’ve got a better way to grab text, lmk. This error’s killing my vibe.)


  Open Thread

How to Run a File in Python – What's the Best Way to Execute a Script? or Struggling with How to Run


Software    18 Replies

StealthIP99, 31-08-2024, 02:50 AM

"Struggling with how to run a file in python – any simple methods?"

hey guys, total noob here lol.

i’ve been trying to figure out *how to run a file in python* but keep getting stuck. like, do i use the terminal? an IDE? double-click it??

i tried `python script.py` in cmd, but sometimes it just... doesn’t work? am i missing something obvious?

also, is there a *better* way to do it? maybe with VS Code or PyCharm?

any quick tips or dumbed-down steps would be a lifesaver. thanks in advance!

(ps. sorry if this is a dumb question, still learning 😅)


  Open Thread

Is ProxyBay Still the Best Way to Access Torrent Sites? or How Reliable is ProxyBay for Finding Worki


Others    20 Replies

hyperMimicX, 31-08-2024, 02:11 AM

"Is ProxyBay Still the Best Way to Access Torrent Sites?"

Honestly, I’ve been relying on ProxyBay for ages to find working mirrors when the main sites go down. But lately, it feels like half the links are dead or sketchy AF.

Anyone else noticing this? Or am I just unlucky?

I get that it’s a cat-and-mouse game with takedowns, but c’mon… there’s gotta be something more reliable by now.

Still, when ProxyBay *does* work, it’s a lifesaver. Just wondering if there’s a better alternative or if we’re all stuck refreshing the same old proxies.

Drop your thoughts—or better yet, any solid alternatives you’ve found. Cheers!


  Open Thread

How to achieve an IP change in 3 sec with Python? Any working methods? or Is it possible to do an IP


API and Development    18 Replies

maskedEscape99, 30-08-2024, 09:25 PM

Subject: Is it possible to do an ip change in 3 sec python? Need help!

Hey guys,

I’ve been trying to figure out how to automate an ip change in 3 sec python but not having much luck.

Anyone know a working method or script for this?

I’ve seen some stuff with proxies or VPN APIs, but not sure if they’re fast enough.

Would love any tips or code snippets!

Thanks in advance.

---

*or*

Subject: Best way to automate ip change in 3 sec python? Any scripts?

Yo,

Need to switch IPs super quick for a project.

Is there a reliable way to do an ip change in 3 sec python?

Tried a few things but either too slow or just breaks lol.

If you’ve got a script or know a solid method, pls share!

Cheers.

---

*or*

Subject: How to achieve an ip change in 3 sec with Python? Any working methods?

Hey folks,

Stuck on this—need to rotate IPs fast.

Specifically looking for an ip change in 3 sec python solution.

Proxy lists? VPN tricks? Something else?

If you’ve done this before, drop some knowledge!

Much appreciated.


  Open Thread

Looking for the Best Adjustable Screen Size Dev Tool – Any Recommendations?


Browser Setup (Chrome/Firefox/Safari)    22 Replies

cyberCloakX, 30-08-2024, 08:25 PM

Hey everyone! 👋

So, I’ve been on the hunt for a solid *adjustable screen size dev tool* lately. You know, something that lets me test my designs on different screen sizes without pulling my hair out.

I’ve tried a couple, but they either feel clunky or don’t have enough flexibility. Like, c’mon, I just wanna resize stuff smoothly and see how it looks on mobile, tablet, desktop, etc.

Anyone got any recs? Preferably free or budget-friendly (student life, amirite?).

Also, if it’s got some extra features like hot reloading or device presets, that’d be a huge plus.

Thanks in advance! 🙏


  Open Thread

How can I use JavaScript to load a JSON file from my desktop? or What's the best way to load a JSON f


API and Development    14 Replies

proxyPioneerX, 30-08-2024, 06:22 PM

"JavaScript load JSON file from desktop – how does it work?"

hey guys, i'm trying to figure out how to use javascript load json file from desktop. like, i have a `data.json` on my pc and wanna read it in my js code.

i tried `fetch()` but it gives me CORS errors. is there a simple way to do this without setting up a server?

also, what about the FileReader API? does that work for local files? or do i need user to manually select the file every time?

any quick examples or tips would be awesome! thanks in advance Smile

(ps. if this is a dumb question, pls go easy on me lol)


  Open Thread

Having issues with your Python Cloudflare build? Any tips or solutions? or What’s the best way to han


API and Development    16 Replies

webXchange77, 30-08-2024, 06:09 PM

"Python cloudflare build failing—anyone else run into this?"

Hey folks,

Struggling with a python cloudflare build rn—keeps throwing some cryptic errors.

Tried the usual stuff (clean install, double-checking deps) but no luck. Anyone else hit this?

Maybe it’s a version clash or somethin’?

Also, if you’ve got a smooth setup for a python cloudflare build, drop your tips!

Thanks in advance, y’all.

---

*or*

"What’s the best way to handle a python cloudflare build for a web project?"

Sup devs,

Planning to use a python cloudflare build for a small web thingy.

Any pro tips? Like, best practices, common pitfalls, or tools that make it less painful?

Heard mixed things about the docs, so figured I’d ask here.

Cheers!


  Open Thread

Is This Behavior Really Not Acceptable, or Am I Overreacting? Alternatively, for a more direct approach:


Troubleshooting    22 Replies

dataNomad_88, 30-08-2024, 06:03 PM

"Wait, is this really not acceptable or am I just overreacting?"

Okay, so I gotta ask... there’s this thing that keeps happening, and I *thought* it was totally fine? But now people are acting like it’s *not acceptable* at all.

Like, am I missing something??

I get that norms change, but c’mon... is it *actually* a big deal or are people just being extra?

Kinda feels like the goalposts moved overnight. Or maybe I’m just clueless lol.

Either way, someone explain why this is *not acceptable* now. Gimme your hot takes—no judgement, just real talk.

(Also, low-key wondering if I’m the only one who didn’t get the memo.)


  Open Thread

How to use waitForSelector in Puppeteer to get all <p> tags on a page?


Smartproxy    10 Replies

ShadowPath77, 30-08-2024, 05:36 PM

Hey everyone,

So I’ve been messing around with Puppeteer and trying to figure out how to use waitforselector puppeteer get all p tags on a page. I know it’s probably basic for some of you, but I’m kinda stuck lol.

Here’s what I’m trying to do: I want to wait for all the `<p>` tags to load on a page and then grab them. I’ve tried using `page.waitForSelector('p')`, but it only waits for the first `<p>` tag, not all of them.

Is there a way to make sure *all* the `<p>` tags are loaded before I use something like `page.$$('p')` to get them? Or am I overcomplicating this?

Any help would be awesome, thanks in advance!

(Also, sorry if this has been asked before, I tried searching but couldn’t find exactly what I needed.)


  Open Thread

Looking for a reliable piratebay proxy 2024 – any working links? or Best piratebay proxy 2024 alterna


Others    14 Replies

DeepHood99, 30-08-2024, 04:18 PM

"Best piratebay proxy 2024 alternatives right now?"

Hey guys,

Soooo... piratebay proxy 2024 seems to be playing hide and seek again. Anyone got a solid mirror or alternative that’s actually working rn?

I’ve tried a few from random lists, but half are dead or sketchy as hell.

What’s your go-to these days? Or is there a better site now?

Thx in advance!

(Also, pls no shady links—trying to avoid malware city lol.)


  Open Thread