this post was submitted on 04 Oct 2023
1024 points (97.3% liked)

Lemmy Shitpost

30444 readers
6798 users here now

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/ExplicitContent


-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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] bill_1992@lemmy.world 161 points 2 years ago (6 children)

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

[–] camr_on@lemmy.world 27 points 2 years ago (4 children)

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

[–] pennomi@lemmy.world 41 points 2 years ago (5 children)

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

[–] camr_on@lemmy.world 14 points 2 years ago

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

load more comments (4 replies)
load more comments (3 replies)
[–] dangblingus@lemmy.world 11 points 2 years ago

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

load more comments (3 replies)
[–] indepndnt@lemmy.world 107 points 2 years ago (5 children)

I'm down with scraping, but "parses HTML with regex" has got me fucked up.

[–] 257m@sh.itjust.works 61 points 2 years ago (2 children)
[–] ChickenLadyLovesLife@lemmy.world 18 points 2 years ago

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.

load more comments (1 replies)
load more comments (4 replies)
[–] ViscloReader@lemmy.world 73 points 2 years ago (1 children)

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.

[–] DAMunzy@lemmy.dbzer0.com 17 points 2 years ago (1 children)

But, but, norobots.txt!

Chad doesn't care!

load more comments (1 replies)
[–] SeeMinusMinus@lemmy.world 62 points 2 years ago (2 children)

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

[–] Anonymousllama@lemmy.world 21 points 2 years ago (2 children)

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

load more comments (1 replies)
load more comments (1 replies)
[–] lnee@lemm.ee 36 points 2 years ago (3 children)

I scrape with bash lord help me.

[–] SubArcticTundra@lemmy.ml 14 points 2 years ago (2 children)
load more comments (2 replies)
[–] OmnislashIsACloudApp@lemmy.world 14 points 2 years ago

there's literally dozens of us!

or maybe just 2 idk

load more comments (1 replies)
[–] darcy@sh.itjust.works 30 points 2 years ago

someone's never used a good api. like mastodon

[–] havokdj@lemmy.world 28 points 2 years ago

Hold on, I thought it was supposed to be realism on the virgin's behalf and ridiculous nonsense on the chad behalf:

All I see is realism on both sides lol

[–] idiosynk@lemmy.world 24 points 2 years ago (6 children)

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

[–] XEAL@lemm.ee 9 points 2 years ago

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.

load more comments (5 replies)
[–] sebinspace@lemmy.world 21 points 2 years ago (2 children)

I wanted to build a Discord bot that would check NIST for new CVEs every 24 hours. But their API leaves quiiiiiiite a bit to be desired.

Their pages, however…

load more comments (2 replies)
[–] snek@lemmy.world 21 points 2 years ago* (last edited 2 years ago)

I used Twitter Scraper to get twitter data for my thesis. Shortly after, it became obsolete.

https://github.com/taspinar/twitterscraper/issues/368 rip twitter scraper

[–] lemmywizard@lemm.ee 20 points 2 years ago

It’s all fun and games until you have to support all this shit and it breaks weekly!

That being said, I do miss the simplicity of maintaining selenium projects for work

[–] McBain@feddit.ch 18 points 2 years ago (1 children)

I use scrapy. It has a steeper learning curve than other libraries, but it's totally worth it.

load more comments (1 replies)
[–] the_lone_wolf@lemmy.ml 14 points 2 years ago

Ok then make a spotify scraper

[–] Irkam@jlai.lu 14 points 2 years ago (1 children)

Let me introduce you to WooB (formerly WEBooB).

[–] Rodeo@lemmy.ca 24 points 2 years ago (1 children)

Why on earth would they have changed that. WEBooB is a way better name.

load more comments (1 replies)
[–] chemicalwonka@discuss.tchncs.de 12 points 2 years ago (3 children)

Let's see what WEI (if implemented ) will do with the scrapers. The future doesn't look promising.

load more comments (3 replies)
[–] Touching_Grass@lemmy.world 12 points 2 years ago (1 children)

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

load more comments (1 replies)
[–] ArchTemperedKoala@lemmy.world 11 points 2 years ago (4 children)

I have totally no idea what these are about..

[–] Touching_Grass@lemmy.world 43 points 2 years ago (2 children)

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

[–] blackluster117@possumpat.io 14 points 2 years ago

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

load more comments (1 replies)
[–] DarkSpectrum@lemmy.world 14 points 2 years ago* (last edited 2 years ago)

'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.

load more comments (1 replies)
[–] madcaesar@lemmy.world 8 points 2 years ago (4 children)

How exactly do you make money scraping?

[–] Sotuanduso@lemm.ee 32 points 2 years ago (6 children)

By getting someone to hire you to do it.

load more comments (6 replies)
[–] Hawk 8 points 2 years ago

Imagine an investment firm looking at a property market. They need data like price trends in the surrounding area.

Real estate API is expensive, scraping is free. By hiring an employee the can save money.

load more comments (2 replies)
[–] Crashumbc@lemmy.world 8 points 2 years ago

ROFL, Chad only thinks that shit works

load more comments