<jupyter_start><jupyter_text>id : inputlogin_field   pw : <PASSWORD>  button : input[type="submit"]<jupyter_code># ID
browser.find_elements_by_css_selector('input#login_field')[0].send_keys('본인 github ID')<jupyter_output><empty_output><jupyter_text>↳ list 형식이기 때문에 [0]을 넣어줌<jupyter_code># password
browser.find_elements_by_css_selector('input#password')[0].send_keys('<PASSWORD>')
# submit
browser.find_elements_by_css_selector('input[type="submit"]')[0].click()<jupyter_output><empty_output><jupyter_text>---<jupyter_code>browser.get('https://github.com/yoonputer/learn_web_scraping_1')
from bs4 import BeautifulSoup
html = BeautifulSoup(browser.page_source, 'html.parser')
html
tags = html.select('div[role="row"].Box-row')
type(tags) , len(tags)
tag = tags[0]
hre = tag.select('a[href*=""]')[0]
hre
hre.text.strip()
for tag in tags:
    name = tag.select('a[href*="/"] ')[0]
    desc = tag.select('a[href*="/"] ')[1]
    dates = 
    name = name.text.strip()
    desc = desc.text.strip()
    
    print(name)
    print(desc)
    print('----')
dats = tag.select('time-ago')
dats<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1864864864864865, 'fraction_numerical': 0.009009009009009009, 'mean_word_length': 6.357615894039735, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 1, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '406646', 'license': 'Apache-2.0', 'n_tokens_mistral': 443, 'n_tokens_neox': 451, 'n_words': 58, 'path': 'github_scraping.ipynb', 'repo_name': 'yoonputer/learn_web_scraping_1', 'size': '1116'}