I hereby claim:
- I am noworries on github.
- I am noworries (https://keybase.io/noworries) on keybase.
- I have a public key ASCcu7lA2EZ2lA6gC3XwunxcA08aFyVidDJ9RON0QtFFCAo
To claim this, I am signing this object:
import csv | |
import requests | |
from bs4 import BeautifulSoup | |
from urllib.parse import urlparse, urljoin | |
# Function to find the sitemap URL on a website (checking with and without "www.") | |
def find_sitemap(base_url): | |
# Construct potential sitemap URLs based on common locations | |
common_sitemap_locations = [ | |
"/sitemap.xml", |
import requests | |
from bs4 import BeautifulSoup | |
import csv | |
from urllib.parse import urlparse, urljoin | |
# read the CSV file and extract all URLs | |
urls = [] | |
with open("sitemap_links.csv", "r") as csvfile: | |
reader = csv.reader(csvfile) | |
for row in reader: |
// Get the parent <ul> element | |
const parentUl = document.querySelector('ul.l-grid'); | |
// Get all <li> elements within the parent <ul> | |
const listItemElements = parentUl.getElementsByTagName('li'); | |
// Array to store the extracted data | |
const extractedData = []; | |
// Extract additional info from the page |
javascript:(function()%7Bif%20(document.querySelector('%5Bclass*%3D%22component_file_view_header--header--%22%5D'))%20%7B%0A%20%20%20%20%20%20%2F%2F%20Call%20the%20function%20for%20element1%0A%20%20%20%20%20%2F%2F%20functionForElement1()%3B%0A%20%20%20%20%20%2F%2F%20alert(%22component%20page%22)%3B%0A%0A%20%20%20%20%20%20%2F%2F%20Export%20Figma%20Component%20Analytics%0A%0A%20%20%20%20%20%20%2F%2F%20Scrape%20content%20from%20the%20webpage%0A%20%20%20%20%20%20const%20containerDiv%20%3D%20document.querySelector('div%5Bclass*%3D%22library_item_view--fileViewDSANoTab--%22%5D%20div%5Bclass*%3D%22library_item_stats--allComponentsTable--%22%5D')%3B%0A%20%20%20%20%20%20const%20rows%20%3D%20Array.from(containerDiv.querySelectorAll('div%5Bclass*%3D%22library_item_view--fileViewDSANoTab--%22%5D%20div%5Bclass*%3D%22library_item_stats--row--%22%5D'))%3B%0A%0A%20%20%20%20%20%20%2F%2F%20Extract%20table%20headings%0A%20%20%20%20%20%20const%20headerRow%20%3D%20containerDiv.querySelector('div%5Bclass*%3D%22library_item_stats-- |
const doc = figma.currentPage.parent as DocumentNode; | |
const CountIndividual = []; | |
const CountSet = []; | |
const CountVariant = []; | |
const PublishedNames = []; | |
const HiddenNames = []; | |
for (let p = 0; p < doc.children.length; p++) { | |
const page = doc.children[p]; | |
I hereby claim:
To claim this, I am signing this object:
A Pen by No Worries on CodePen.
I hereby claim:
To claim this, I am signing this object:
Brand Tokens | |
Vanilla Tokens | |
Apply -> Vanilla | |
Spark Tokens | |
Apply -> Spark | |
Skinny Tokens | |
Apply -> Skinny | |
Spark Digital Tokens | |
Apply -> Spark Digital |