#πŸ”’ Web Scraping

24 messages Β· Page 1 of 1 (latest)

coral merlin
#

Im trying to scrape through a movie website to get the src of the movie but when i run the code im getting no output at all

from selenium import webdriver
from bs4 import BeautifulSoup
from selenium.webdriver.chrome.service import Service as ChromeService



driver = webdriver.Chrome()

driver.get("https://ww6.solarmovie.to/movie/seal-team-season-1-22006.html")
pageSrc = driver.page_source

soup = BeautifulSoup(pageSrc, 'html.parser')

searchResult = soup.find_all("div", class_="ratio ratio-16x9")

print(searchResult)
hexed gladeBOT
#

@coral merlin

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.

slate field
coral merlin
#

not downloading anything

devout dawn
#

!rule 5

hexed gladeBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

coral merlin
#

if i wanted to download it i wouldve done it

#

i just want to make it easier for me to use fullscreen

devout dawn
#

We can't help you with it here.

coral merlin
#

yeah sorry i forgot that making code so i can make it easier for me to watch a series was a high level crime

#

my apologies

slate field
coral merlin
#

yeah tell that to the cops boyo

#

not me whos streaming the films

devout dawn
#

Look, it's against the rules. I'm not going to converse about the morality of what you're doing because I don't care. We can't help, it's against the rules. We will get banned if we try to help.

red robin
coral merlin
#

ye ye alright

devout dawn
#

Also I don't want to help because it's illegal.

coral merlin
#

ooo yeah you definitely shouldnt help youll be slapped behind bard for life

devout dawn
#

Have a nice day.

coral merlin
#

yeah mate

#

!close

hexed gladeBOT
#
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.