<jupyter_start><jupyter_text>MyRandomName<jupyter_code># Imports
from bs4 import BeautifulSoup
import requests
# Url parts
url_start ='http://www.oxfordreference.com/view/10.1093/acref/9780199677764.001.0001/acref-9780199677764?btog=chap&hide=true&page='
url_end = '&pageSize=100&skipEditions=true&sort=titlesort&source=%2F10.1093%2Facref%2F9780199677764.001.0001%2Facref-9780199677764'
url_page = 1
# Scraping
name = []
for x in range(1, 458):
    page = requests.get(url_start + str(x) + url_end)
    content = BeautifulSoup(page.content, "html.parser")
    divs = content.select(".itemTitle a")
    for div in divs:
        a = div.text
        name.append(a)
# Saving
with open('name.txt', "w+") as f:
    for n in name:
        f.write(n+'\n')
    f.close()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14393939393939395, 'fraction_numerical': 0.1148989898989899, 'mean_word_length': 4.624113475177305, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '231253', 'license': 'MIT', 'n_tokens_mistral': 370, 'n_tokens_neox': 318, 'n_words': 52, 'path': 'my-random-name.ipynb', 'repo_name': 'stephanepiriou/MyRandomName', 'size': '792'}