깃랩 재정비

This commit is contained in:
SeungHo Yang
2021-03-16 09:02:26 +09:00
commit 14655a2b4f
911 changed files with 397687 additions and 0 deletions

11
colling.py Normal file
View File

@@ -0,0 +1,11 @@
import requests
from bs4 import BeautifulSoup
source = requests.get("https://www.naver.com/").text
soup = BeautifulSoup(source, "html.parser")
hotKeys = soup.select(" .ah_roll .ah_item")
for key in hotKeys:
print(key.select_one(".ah_r").get_text()
+ ". "
+ key.select_one(".ah_k").get_text())