Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

BeautifulSoup : Fetched all the links on a webpage how to navigate through them without selenium

import requests
from bs4 import BeautifulSoup

base_url_f = "https://www.yifysubtitles.com"
search_url = base_url_f + "/search?q=last+jedi"
resp = requests.get(search_url)
soup = BeautifulSoup(resp.text, 'lxml')
for media in soup.find_all("div", {"class": "media-body"}):
    print(base_url_f + media.find('a')['href'])
Comment

PREVIOUS NEXT
Code Example
Python :: How to Export Sql Server Result to Excel in Python 
Python :: pygame getting your charecter to jump 
Python :: send message in every channel discord.py 
Python :: parsing output from ping - python 
Python :: send by email in odoo 14 
Python :: how to check all possible combinations algorithm python 
Python :: write an empty block python 
Python :: python readlines  
Python :: get_type_display 
Python :: gitlab ci deploy key 
Python :: django insert data into database without form 
Python :: sklearn encoding pipelin 
Python :: Converting Data Types 
Python :: Python 3 (python 3.7.3) sample 
Python :: python json string indices must be integersAdd Answer 
Python :: clear notebook output 
Python :: ring get the windows new line string 
Python :: ring Using the Natural Library 
Python :: ring create an application to ask the user about his/her name. 
Python :: pairplot seaborn legend best position set 
Python :: numpy mask without losing shape 
Python :: Find the 15th term of the series?0,0,7,6,14,12,21,18, 28 
Python :: hi i smell like poop 
Python :: tens place in digit 
Python :: how to create customer using python api of shopify 
Python :: convert int to binary python 
Python :: while my_input != "exit": 
Python :: how to take matrix input in python 
Python :: python django 
Python :: how to read comment before the root element of xml python 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =