Search

Results include substring matches and semantically similar vals. Learn more
briscoe avatar
getTideTimes
@briscoe
An interactive, runnable TypeScript val by briscoe
Script
import { fetch } from "https://esm.town/v/std/fetch";
export const getTideTimes = (async () => {
const cheerio = await import("npm:cheerio");
const response = await fetch(
"https://www.worldtides.info/tidestations/Europe/Ireland/DUBLIN_(NORTH_WALL)",
frontsideair avatar
exchangeRate
@frontsideair
An interactive, runnable TypeScript val by frontsideair
Script
import { fetch } from "https://esm.town/v/std/fetch";
export async function exchangeRate() {
const cheerio = await import("npm:cheerio");
const page = await fetch(
"https://kur.doviz.com/serbest-piyasa/amerikan-dolari",
thomasatflexos avatar
generateEmbeddings
@thomasatflexos
An interactive, runnable TypeScript val by thomasatflexos
Script
req: express.Request,
res: express.Response,
await import("npm:cheerio");
const url = req?.body?.url;
if (!url) {
paolobrasolin avatar
tacUrlToBibtex
@paolobrasolin
An interactive, runnable TypeScript val by paolobrasolin
Script
import { fetchText } from "https://esm.town/v/stevekrouse/fetchText?v=5";
export const tacUrlToBibtex = async (url: string) => {
const cheerio = await import("npm:cheerio");
const html = await fetchText(url);
const $ = cheerio.load(html);
simone avatar
tradestationMargins
@simone
An interactive, runnable TypeScript val by simone
Script
return result;
async function loadTradestationData() {
const cheerio = await import("npm:cheerio");
const response = await fetch(
"https://www.tradestation.com/pricing/futures-margin-requirements/"
simone avatar
interactiveBrokersMargins
@simone
An interactive, runnable TypeScript val by simone
Script
return result;
async function loadInteractiveBrokersData() {
const cheerio = await import("npm:cheerio");
const response = await fetch(
"https://www.interactivebrokers.com/en/trading/margin-futures-fops.php"
briscoe avatar
getPoolTimes
@briscoe
An interactive, runnable TypeScript val by briscoe
Script
"friday",
"saturday",
const cheerio = await import("npm:cheerio");
const response = await fetch(
"https://www.swanleisure.ie/timetables?type=pool",
adilson avatar
webscrapeMinhaBibliotecaCatolicaBoxList
@adilson
Getting all boxes from MinhaBibliotecaCatolica.com.br
Script
const sourceUrl =
"https://assine.bibliotecacatolica.com.br/edicoes-anteriores";
const { default: cheerio } = await import("npm:cheerio");
const html = await fetchText(sourceUrl);
console.log(cheerio);
maryrosecook avatar
getListOfLatestStreamingMovies
@maryrosecook
An interactive, runnable TypeScript val by maryrosecook
Script
import { getLatestMoviesHtml } from "https://esm.town/v/maryrosecook/getLatestMoviesHtml";
export let getListOfLatestStreamingMovies = async () => {
const cheerio = await import("npm:cheerio");
const $ = cheerio.load(await getLatestMoviesHtml());
return $("[data-qa='discovery-media-list-item-title']")
javier avatar
letterboxd
@javier
Gets a list with all the films a user has added to their public diary in Letterboxd. The result is a JSON file with the following structure: "updated_at": "2023-08-13", "count": 470, "films": [ { "watched_on": "2022-10-24", "title": "Aftersun (2022)", "rating": 4.5, "rewatched": false }, { "watched_on": "2021-03-20", "title": "Le Trou (1960)", "rating": 5, "rewatched": true }, ... { "watched_on": "2020-09-13", "title": "Tampopo (1985)", "rating": 5, "rewatched": false } ] } If you want to use it in the browser, just visit this URL: https://javier-letterboxdscrapper.web.val.run/?username={username}
Script
import { fetchText } from "https://esm.town/v/stevekrouse/fetchText?v=5";
export const letterboxd = async (username: string) => {
const { default: cheerio } = await import("npm:cheerio");
const URL = `https://letterboxd.com/${username}/films/diary/`;
const getTotalPages = async () => {
jacoblee93 avatar
runAgent
@jacoblee93
An interactive, runnable TypeScript val by jacoblee93
Script
const { initializeAgentExecutorWithOptions } = await import(
"npm:langchain/agents"
const cheerio = await import("npm:cheerio");
const { LLMChain } = await import("npm:langchain/chains");
const { ChatPromptTemplate, HumanMessagePromptTemplate } = await import(
stevekrouse avatar
cheerioEx
@stevekrouse
// Forked from @maryrosecook.denoImportEx
Script
export let cheerioEx = (async () => {
const cheerio = await import("npm:cheerio@1.0.0-rc.12");
const $ = cheerio.load("<html><h1>hi</h1></html>");
return $("h1")
.toArray()
.map((node) => $(node).text().trim());
// Forked from @maryrosecook.denoImportEx
csshsh avatar
npmExample
@csshsh
An interactive, runnable TypeScript val by csshsh
Script
export let npmExample = (async () => {
const _ = await import("npm:lodash-es"); // The Lodash library exported as ES modules.
const jsdom = await import("npm:jsdom");
console.log(jsdom);
return _.shuffle(_.zip([1, 2, 3, 4], [5, 6, 7, 8]));
libo avatar
npmExample
@libo
An interactive, runnable TypeScript val by libo
Script
export let npmExample = (async () => {
const _ = await import("npm:lodash-es"); // The Lodash library exported as ES modules.
return _.shuffle(_.zip([1, 2, 3, 4], [5, 6, 7, 8]));
junhoca avatar
npmExample
@junhoca
An interactive, runnable TypeScript val by junhoca
Script
export let npmExample = (async () => {
const _ = await import("npm:lodash-es"); // The Lodash library exported as ES modules.
return _.shuffle(_.zip([1, 2, 3, 4], [5, 6, 7, 8]));