#๐Ÿ”’ BS4 webscraper w/ google (tried my best to block images.)

18 messages ยท Page 1 of 1 (latest)

fluid obsidianBOT
#

@last seal

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

last seal
#

How would i go about better blocking images, and what can i do to make the code better? or is it already good.

rotund pumice
#

Google doesn't generally allow scraping their site/search results

#

They'll ban your IP/account if they detect it.

#

@last seal

last seal
#

wait fr?

rotund pumice
#

You should always view a site's ToS before you try to scrape it.

last seal
#

guess i'll have to find an alternative

rotund pumice
#

More often than not they don't allow scraping.

#

Google has an API

#

several actually

last seal
#

k i'll use the api then, thx for telling

rotund pumice
last seal
#

closed

fluid obsidianBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

๐Ÿ”’ BS4 webscraper w/ google (tried my best to block images.)