25 points

I’ve just discovered selenium and my life has changed.

permalink
report
reply
2 points

How so?

permalink
report
parent
reply
9 points

When a customer needs a part replaced, they send in shipping data. This data has to be entered into 3-4 different web forms and an email. This allows me to automate it all from a single form that has built in error checking so human mistakes are limited.

Company could probably automate this all in the backend but they won’t :shrug:

permalink
report
parent
reply
4 points

Using Selenium for this is probably overkill. You might be better off sending direct HTTP requests with your form data. This way you don’t actually have to spin up an entire browser to perform that simple operation for you.

That said, if it works - it works!

permalink
report
parent
reply
10 points

I created a shitty script (with ChatGPT’s help) that uses Selenium and can dump a Confluence page from work, all its subpages and all linked Google Drive documents.

permalink
report
parent
reply
162 points

Everyone loves the idea of scraping, no one likes maintaining scrapers that break once a week because the CSS or HTML changed.

permalink
report
reply
109 points
Deleted by creator
permalink
report
parent
reply
5 points

I feel this

permalink
report
parent
reply
22 points

This one. One of the best motivators. Sense of satisfaction when you get it working and you feel unstoppable (until the next subtle changes happens anyway)

permalink
report
parent
reply
28 points

I loved scraping until my ip was blocked for botting lol. I know there’s ways around it it’s just work though

permalink
report
parent
reply
42 points

I successfully scraped millions of Amazon product listings simply by routing through TOR and cycling the exit node every 10 seconds.

permalink
report
parent
reply
15 points

That’s a good idea right there, I like that

permalink
report
parent
reply
5 points

lmao, yeah, get all the exit nodes banned from amazon.

permalink
report
parent
reply
6 points

This guy scrapes

permalink
report
parent
reply
7 points
*

You guys use IP’s?

permalink
report
parent
reply
7 points

Token ring for me baybeee

permalink
report
parent
reply
7 points

I’m coding baby’s first bot over here lol, I could probably do better

permalink
report
parent
reply
11 points

Or in the case of wikipedia, every table on successive pages for sequential data is formatted differently.

permalink
report
parent
reply
7 points

Just use AI to make changes ¯_(ツ)_/¯

permalink
report
parent
reply
10 points

Here take these: \\

permalink
report
parent
reply
9 points

¯(ツ)/¯\\ Thanks

permalink
report
parent
reply
11 points

I have totally no idea what these are about…

permalink
report
reply
9 points
Deleted by creator
permalink
report
parent
reply
14 points
*

‘Scraping’ is the process of anonymously and programmatically collecting data from a webpage(s), often without the website’s permission and only limited to the content made publicly available. This is in contrast to using an API provided by the database owner which is limited by tokens, access volume, available end points etc.

permalink
report
parent
reply
43 points

Websites and services create APIs for programmers to use them. So Spotify has code that let’s you build a program that can use its features. But you need a token they give you after you sign up. The token can be revoked and used to monitor how much of their service you’re using. That way they can restrict if its too much.

Scraping is raw dogging the web slut you met at the cougar ranch who went home with you because you reminded her of her dog

permalink
report
parent
reply
14 points

This is the greatest definition for scraping I’ve ever read. You should have it bronzed.

permalink
report
parent
reply
4 points

Put like that I want to learn everything about it.

permalink
report
parent
reply
4 points

Everytime I think I’m good with tech, something like this shows up in my feed and makes me realize I know jackshit.

permalink
report
parent
reply
12 points

Fuck, I think I’ve been doing it wrong and this meme gave me more things to learn than any YouTube video has

permalink
report
reply
1 point

Memes have always been superior to YouTube videos

permalink
report
parent
reply
62 points

The sad part is that scrapping is often easier then using the api.

permalink
report
reply
5 points

So true that it hurta

permalink
report
parent
reply
20 points

Much less beholden to arbitrary rules also. Way too many times companies will just up and lift their API access or push through restrictions. No ty, I’ll just access it myself then

permalink
report
parent
reply
13 points
*
Deleted by creator
permalink
report
parent
reply
6 points

API starter kit

  • Outdated and unsupported and hasn’t been replaced yet but is the standard way to use the service.
  • Lots of authorization tokens.
  • The example in the docs doesn’t work (if there is one).
  • You have no idea where the online tutorial got the information because it doesn’t have links to resources and the docs have barely anything even though its giant.
  • Uses asynchronous programming to make it faster but its still much much slower then scrapping without asynchronous programming.
permalink
report
parent
reply

Lemmy Shitpost

!lemmyshitpost@lemmy.world

Create post

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful

Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.


2. No Illegal Content

Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)


3. No Spam

Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.


4. No Porn/Explicit

Content


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.


5. No Enciting Harassment,

Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.


6. NSFW should be behind NSFW tags.

-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

Community stats

  • 14K

    Monthly active users

  • 10K

    Posts

  • 234K

    Comments