beautifulsoup tag

65 questions


2 answers
92 views
0
Simple code questions about Beautiful Soup...

import requests, bs4 res = requests.get('http://tuportaldesbloqueo.com/') res.raise_for_status() soup = bs4.BeautifulSoup(res.text, html.parser) elmes = soup.select('title') for elem in elmes: ...

2 years ago

1 answers
138 views
0
All html codes do not go down when crawling the web with Beautiful Soup

While I was working on Python to download the code that can automatically download the past question from Ebsi, I downloaded the web page with beautiful soup, and I downloaded the code that was abbrev...


3 answers
100 views
0
This is a question related to page parsing during Python web crawling.

import requestsresponse = requests.get('http://?????/')html = response.textfrom bs4 import BeautifulSoupsoup = BeautifulSoup(html, 'html.parser')for tag in soup.select('tbody'): print(tag.text)I dele...

2 years ago

2 answers
80 views
0
To click only the button for a particular pattern id during Python crawling

If there are multiple buttons with similar IDs, click all buttons and If you don't have the id of that button, you want to create a code that doesn't do anythingIn the case of similar IDs, the front i...


1 answers
88 views
0
I want to bring it to soup and run it only if there is a specific class

When Africa BJ starts broadcasting, I'm going to make a program that executes a specific code.If you look at the BJ station website, there is a live class only when broadcasting. So I crawl the BJ bro...


1 answers
75 views
0
The problem is that the path of the HTML selector and xpath.

Corresponding page: http://lin.popall.com/bbs.htm?code=talking&keyfield=&key=&page=1 Copy the CSS SELECTOR of the table to bring only the part that contains the posts on the free bulletin ...


1 answers
93 views
0
Please help me to click on Google's favorite site with Python selenium

url = 'site url'driver.get(url)# I'll connect it like thispage = driver.page_sourcehtml = BeautifulSoup(page, 'html.parser')find_tag = html.findAll('h3')# h3 tag is the name of the sites that are expo...


1 answers
92 views
0
Unable to retrieve data while crawling python beautiful soup. Please tell me how to crawl a web page with JavaScript using selenium!

https://mensaar.de/#/menu/sbI want to get the menu data from the web page above and print it out, but it's not working well.The code I wrote is as follows.//#encoding = utf-8import urllib.requestfrom ...


1 answers
106 views
0
How can I solve the problem of not being able to read the data when I crawl the web with Beautiful Soup?

I'm going to use Python Beautiful Soup to crawl the web.def scrapy(): url = 'http://cu.bgfretail.com/product/product.do?category=product&depth2=4&sf=N' source_code = requests.get(url) plain_te...

2 years ago

1 answers
130 views
0
There is an index error when parsing the xml page using python3 and beautiful soup.

BASE_URL = http://openapi.gbis.go.kr/ws/rest/buslocationservice?serviceKey=%2BFdkupBYoTx3q0Sd%2B6GFPa6NZ0Quorkb0guP7oMfTj8I75dQKX8vhMXO4QoY6KLZwx%2Bja8eT7irD11Gxv31t1g%3D%3D&routeId=200000085respo...

« - 4 - »

© 2024 OneMinuteCode. All rights reserved.