<jupyter_start><jupyter_text>id = inputlogin_field   password = <PASSWORD>  submitbutton = input[type="submit"]<jupyter_code>brawser.find_elements_by_css_selector('input#login_field')[0].send_keys('<PASSWORD>')
brawser.find_elements_by_css_selector('input#password')[0].send_keys('111<PASSWORD>1111')

brawser.find_elements_by_css_selector('input[type="submit"]')[0].click()
brawser.get('https://github.com/yoojunwoong/class1_webcraping')
from bs4 import BeautifulSoup
html = BeautifulSoup(brawser.page_source, 'html.parser')
html
tags = html.select('div[role="row"].Box-row')
type(tags), len(tags)
tags[4]
tag = tags[0]
filename = tag.select('span.css-truncate')[0]
type(filename)
filename.text.strip()
desc = tag.select('a.Link--secondary')[0]
desc.text.strip()
date = tag.select('time-ago.no-wrap')[0]
date.text.strip()
git = [] 
for tag in tags:
    filename = tag.select('span.css-truncate')[0]
    desc = tag.select('a.Link--secondary')[0]
    date = tag.select('time-ago.no-wrap')[0]
    git.append([filename.text.strip(), desc.text.strip(),date.text.strip()])
git
import pandas as pd
pd_data = pd.DataFrame(git)
pd_data.to_excel('./saves/gitpractice.xls')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18524727577535624, 'fraction_numerical': 0.016764459346186086, 'mean_word_length': 7.0134228187919465, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '4834', 'license': 'Apache-2.0', 'n_tokens_mistral': 463, 'n_tokens_neox': 450, 'n_words': 55, 'path': 'github_scarping.ipynb', 'repo_name': 'yoojunwoong/class1_webcraping', 'size': '1190'}