<jupyter_start><jupyter_text>id : inputlogin_fieldpassword : inputpasswordbutton : input[type="submit"]<jupyter_code>browser.find_elements_by_css_selector('input#login_field')[0].send_keys('<EMAIL>')  #리스트로 나오기 때문에 [0]을 넣는다. 
browser.find_elements_by_css_selector('input#password')[0].send_keys('<PASSWORD>!')
browser.find_elements_by_css_selector('input[type="submit"]')[0].click()<jupyter_output><empty_output><jupyter_text>https://github.com/victoria2012/test_webscraping<jupyter_code>browser.get('https://github.com/victoria2012/test_webscraping')
from bs4 import BeautifulSoup
soup = BeautifulSoup(browser.page_source, 'html.parser')
soup
tags = soup.select('div[role="row"].Box-row')
len(tags), type(tags)
tag = tags[0]
name = tag.select('span > a.js-navigation-open')[0]
name.text.strip()
descs = tag.select('span.css-truncate > a.Link--secondary')
descs
desc = descs[0]
desc.text.strip()
gdate = tag.select('div > time-ago')[0]
gdate
gdate.text.strip()
result = list()
for tag in tags:
    name = tag.select('span > a.js-navigation-open')[0]
    desc = tag.select('span > a.Link--secondary')[0]
    gdate = tag.select('div > time-ago')[0]
#     print(name.text.strip(),desc.text.strip(),gdate.text.strip())
    a = [name.text.strip(),desc.text.strip(),gdate.text.strip()]
    result.append(a)
result    
import pandas as pd
pd_data = pd.DataFrame(result, columns = ['Folder/File Name','Description','Date'])
pd_data
pd_data.to_excel('./saves/github_scraping_second.xls', index=False)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18014464168310323, 'fraction_numerical': 0.013149243918474688, 'mean_word_length': 6.686868686868687, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '381200', 'license': 'Apache-2.0', 'n_tokens_mistral': 582, 'n_tokens_neox': 582, 'n_words': 73, 'path': 'github_scraping_second.ipynb', 'repo_name': 'victoria2012/test_webscraping', 'size': '1537'}