All Questions
Tagged with mysql-python beautifulsoup
8 questions
-1
votes
1
answer
75
views
How to put each link separate in database with beautifulsoup python
Hello i would like to add each link seperate in the database. When i print out "new_lst" it displays every link so i think it wants to put the whole outcome in 1 row and now seperate. My ...
2
votes
2
answers
1k
views
Beautiful Soup, get_text but NOT the <span> text.. How can i get it?
Given this markup:
[MARKUP][1]
I need to get the number 182 in a column and the 58 in another. I already have the span, but when I call the div.get_tex() or string it returns = 18258(both numbers)
...
1
vote
1
answer
472
views
beautifulsoup result in dictionary storing to database
I am scraping a website and store the result in a nested dictionary.
The dictionary has the same structure as my database.
My aim is to write a function with one parameter, which holds the table name ...
-1
votes
2
answers
92
views
XML to python using beautifulsoup and different XML types
I'm working with some xml and my job now is to get the xml and get some data to SQL db..
The thing is, I have to types of xml docs like:
I have "cpc-definition-A.xml":
<definition-item><...
2
votes
2
answers
430
views
Python: How to parse all the 'for loop' outputs to mysql update query as one variable
Hi I've been looking for a similar thread but I couldn't find one so posting a question. Any help would be greatly appreciated.
�?Background】
I'm using beautifulsoup to scrape some website. What I ...
-1
votes
4
answers
905
views
How to save Information in Database using BeautifulSoup [closed]
I'm getting different information for a particular thing and i'm storing those information in a dictionary
e.g. {property1:val , property2:val, property3:val}
now I have several dictionary of ...
0
votes
1
answer
55
views
Modules not Working across different python versions
I have two different python programs. One of the program uses the python BeautifulSoup module, the other uses the MySQLdb module. When I run the python files individually, I have no problem and the ...
1
vote
2
answers
539
views
Update a MySQL table from an HTML table with thousands of rows
I have an html file on network which updates almost every minute with new rows in a table. At any point, the file contains close to 15000 rows I want to create a MySQL table with all data in the table,...