this post was submitted on 04 Oct 2023
1039 points (97.4% liked)

Lemmy Shitpost

26977 readers
3546 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
[–] [email protected] 159 points 1 year 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.

[–] [email protected] 28 points 1 year 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

[–] [email protected] 41 points 1 year ago (5 children)

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

[–] [email protected] 15 points 1 year ago

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

load more comments (4 replies)
load more comments (3 replies)
[–] [email protected] 11 points 1 year ago

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

load more comments (3 replies)
[–] [email protected] 104 points 1 year ago (5 children)

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

[–] 257m 59 points 1 year ago (2 children)
[–] [email protected] 17 points 1 year 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)
[–] [email protected] 73 points 1 year 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.

[–] [email protected] 17 points 1 year ago (1 children)

But, but, norobots.txt!

Chad doesn't care!

load more comments (1 replies)
[–] [email protected] 64 points 1 year ago (2 children)

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

[–] [email protected] 21 points 1 year 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)
[–] [email protected] 37 points 1 year ago (3 children)

I scrape with bash lord help me.

[–] [email protected] 14 points 1 year ago (2 children)
load more comments (2 replies)
[–] [email protected] 14 points 1 year ago

there's literally dozens of us!

or maybe just 2 idk

load more comments (1 replies)
[–] [email protected] 29 points 1 year 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

[–] darcy 28 points 1 year ago

someone's never used a good api. like mastodon

[–] [email protected] 25 points 1 year ago (6 children)

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

[–] [email protected] 9 points 1 year 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)
[–] [email protected] 21 points 1 year 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)
[–] [email protected] 20 points 1 year 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

[–] [email protected] 20 points 1 year ago* (last edited 1 year 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

[–] [email protected] 17 points 1 year 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)
[–] [email protected] 14 points 1 year ago (4 children)

I have totally no idea what these are about..

[–] [email protected] 41 points 1 year 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

[–] [email protected] 13 points 1 year ago

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

load more comments (1 replies)
[–] [email protected] 14 points 1 year ago* (last edited 1 year 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)
[–] [email protected] 14 points 1 year ago (1 children)

Let me introduce you to WooB (formerly WEBooB).

[–] [email protected] 23 points 1 year ago (1 children)

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

load more comments (1 replies)
[–] [email protected] 12 points 1 year 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)
[–] [email protected] 12 points 1 year 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)
[–] [email protected] 12 points 1 year ago

Ok then make a spotify scraper

[–] [email protected] 11 points 1 year ago (1 children)

My undergrad project was a scraper - there just wasn’t a name for it yet,

[–] newIdentity 25 points 1 year ago* (last edited 1 year ago)

Scrapers have been a thing since the web exists.

One of the first search engines is even called WebCrawler

[–] [email protected] 8 points 1 year ago (2 children)

How exactly do you make money scraping?

[–] [email protected] 32 points 1 year ago (6 children)

By getting someone to hire you to do it.

load more comments (6 replies)
[–] [email protected] 8 points 1 year 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
view more: next ›