You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ata run korle sob kisu thiki kaj kore kintu ami kono vabe r nicer info gulo te access korte parsi na.
ami chassi oi "Bitcoin" and "BTC" lekha dutite access korte jate sudu oi duti output ase.
Dhonnobad.
The text was updated successfully, but these errors were encountered:
page = requests.get(url)
html_doc = page.content
soup = BeautifulSoup(html_doc,"html.parser")
all_div =soup.find_all("div",attrs={"class":"coin-content center"})
for div in all_div:
print(div.a.span.string)"
now i am getting correct result but can not save in txt file or in exel file.
from bs4 import BeautifulSoup import requests r = requests.get("https://coingecko.com/en") html_doc = r.content soup = BeautifulSoup(html_doc,"html.parser") scrap =soup.findAll("div",class_="coin-content center") print(scrap[0])
Output:
ata run korle sob kisu thiki kaj kore kintu ami kono vabe r nicer info gulo te access korte parsi na.
ami chassi oi "Bitcoin" and "BTC" lekha dutite access korte jate sudu oi duti output ase.
Dhonnobad.
The text was updated successfully, but these errors were encountered: