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
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
5 points

I feel this

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
6 points

This guy scrapes

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
7 points
*

You guys use IP’s?

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
7 points

Token ring for me baybeee

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
109 points

I’m down with scraping, but “parses HTML with regex” has got me fucked up.

permalink
report
reply
62 points
18 points

13 years ago my god. I wonder what Jon Skeet is doing these days.

I remember when he passed me in the reputation ranking back in the early days and thinking that I needed to be a little bit more active on the site to catch him lol.

permalink
report
parent
reply
4 points

That was a great read. Thanks!

permalink
report
parent
reply
5 points

This is the way

permalink
report
parent
reply
2 points

What’s wrong with parsing HTML with regex?

permalink
report
parent
reply
8 points

Go and look it up on stack overflow

permalink
report
parent
reply
5 points

In short, it’s the wrong tool for the job.

In practice, if your target is very limited and consistent, it’s probably fine. But as a general statement about someone’s behavior, it really sounds like someone is wasting a lot of time and regularly getting sub-par results.

permalink
report
parent
reply
73 points

Just a heads up for companies thinking it’s wrong to scrap: if you don’t want info to be scraped, don’t put it on the internet.

permalink
report
reply
17 points

But, but, norobots.txt!

Chad doesn’t care!

permalink
report
parent
reply
6 points

uses curl manually instead

permalink
report
parent
reply
62 points

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

permalink
report
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
5 points

So true that it hurta

permalink
report
parent
reply
37 points

I scrape with bash lord help me.

permalink
report
reply
14 points

you scrape WITH BASH?

permalink
report
parent
reply
2 points

Awk all the things!

permalink
report
parent
reply
2 points

pipe sed pipe grep pipe tr pipe grep… I would say I am a bit of a plumber

permalink
report
parent
reply
14 points

there’s literally dozens of us!

or maybe just 2 idk

permalink
report
parent
reply

as a windows user i say kindly on our behalf thank you for pushing the envelope ✉

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