Home > Notes > Web Scrapping and BeautiFul Soup

Python Request_library Explanation

Web Scrapping and BeautiFul Soup

Python Request_library Explanation
BeautiFul Soup search()
BeautiFul Soup Introduction and Explanation
BeautiFul Soup find_all()
BeautiFul Soup find()
BeautiFul Soup search()

Python Request_library Explanation

python requests

it will take the parameter as URL. it will give the contents of the page. and as well as if contents are takeable it will return code as 200 (Which is success) if not it will return 404 (which is error)

it will take the parameter as URL.
 it will give the contents of the page.
 and as well as if contents are takeable it will return code as 200 (Which is success)
 if not it will return 404 (which is error)

python requests

it will take the parameter as URL. it will give the contents of the page. and as well as if contents are takeable it will return code as 200 (Which is success) if not it will return 404 (which is error).

import requests
 URL = "https://realpython.github.io/fake-jobs/"
 page = requests.get(URL)
 print(page)