compileAndUploadTinygoWasmmain.tsx2 matches
42})();
4344let resp = await fetch("https://maxm-wasmBlobHost.web.val.run", {
45method: "POST",
46headers: {
5758import { wasmHandler } from "https://esm.town/v/maxm/tinygoHttp";
59const resp = await fetch("${url}");
60const handler = await wasmHandler(new Uint8Array(await resp.arrayBuffer()));
61export default async function(req: Request): Promise<Response> {
coffeeReptilemain.tsx1 match
1import { blob } from "https://esm.town/v/std/blob?v=12";
2export default async function(interval: Interval) {
3await fetch("https://tempguy-scarletsole.web.val.run/refresh");
4const date = new Date();
5await blob.setJSON("turnstileCron", { ptime: date.getTime(), ntime: interval.delay + interval.lastRunAt.getTime() });
tealPheasantmain.tsx9 matches
2const url =
3"https://streambucket.net/playvideo.php?video_id=S0dpVVFEbWV3ZDBBNGI3QldBPT0=&server_id=42&token=S0dLWFR6NkcxTUllNHIzSlRGb0tTaXFTVStiSHNRdkpNcXFsOWtJamljYU5nQ1JId1dac2hVeTN5VGkrRG1ZN2FiSUs0ZU9MUEo1Sk9XcEhUTHJLOUt0cGc0aXZvTGhDUDhRV1IyMGR3Qnl4d0YyNERsQWRhOXBvK2tQanNvODBzc3FOQnVDRjl2UUJDVjJURjFqNjNER202TzJNNUxzcEtnPT0=";
4const req = await fetch(
5"https://streambucket.net/playvideo.php?video_id=S0dpVVFEbWV3ZDBBNGI3QldBPT0=&server_id=42&token=S0dLWFR6NkcxTUllNHIzSlRGb0tTaXFTVStiSHNRdkpNcXFsOWtJamljYU5nQ1JId1dac2hVeTN5VGkrRG1ZN2FiSUs0ZU9MUEo1Sk9XcEhUTHJLOUt0cGc0aXZvTGhDUDhRV1IyMGR3Qnl4d0YyNERsQWRhOXBvK2tQanNvODBzc3FOQnVDRjl2UUJDVjJURjFqNjNER202TzJNNUxzcEtnPT0=",
6);
25"Alt-Used": "streambucket.net",
26"Upgrade-Insecure-Requests": "1",
27"Sec-Fetch-Dest": "iframe",
28"Sec-Fetch-Mode": "navigate",
29"Sec-Fetch-Site": "same-origin",
30"Sec-Fetch-User": "?1",
31"Priority": "u=4",
32"Pragma": "no-cache",
6768try {
69// Perform the fetch request
70const response = await fetch(url, {
71method: "POST",
72headers: headers,
74});
7576// Await and log the result of the fetch request
77const result = await response.status;
78console.log(result);
79} catch (error) {
80console.error("Error fetching combination:", combination, error);
81}
82}
maroonBandicootmain.tsx3 matches
1import { fetch } from "https://esm.town/v/std/fetch";
2export default async function(request: Request) {
3const url = new URL(request.url);
4const h = url.searchParams.get("tdestination");
5if (h) {
6const resp = await fetch(decodeURIComponent(url.searchParams.get("tdestination")), {
7method: request.method,
8body: request.body,
13}
14else {
15const resp = await fetch(decodeURIComponent(url.searchParams.get("destination")), {
16method: request.method,
17body: request.body,
isMyWebsiteDownmain.tsx2 matches
9let reason: string;
10try {
11const res = await fetch(URL, { redirect: "follow" });
12if (res.status !== 200) {
13reason = `(status code: ${res.status})`;
15}
16} catch (e) {
17reason = `couldn't fetch: ${e}`;
18ok = false;
19}
18"Accept": "application/json, text/javascript, */*; q=0.01",
19"Accept-Language": "en-US,en;q=0.5",
20"Sec-Fetch-Dest": "empty",
21"Sec-Fetch-Mode": "no-cors",
22"Sec-Fetch-Site": "same-origin",
23"X-Requested-With": "XMLHttpRequest",
24"Priority": "u=4",
28}
2930async fetchPage() {
31try {
32const response = await fetch(this.url, { headers: this.headers });
3334if (!response.ok) throw new Error(`Failed to fetch page: ${response.statusText}`);
3536const $ = cheerio.load(await response.text());
66if (server.class === "doodstream") {
67const id = server.video.split("/")[4];
68const data = await (await fetch(`https://tempguy-scarletsole.web.val.run/dood/${id}`)).json();
69this.results.sourceC = data.stream[0].qualities.unknown.url;
70}
79async function extract(url) {
80try {
81const response = await fetch(url, {
82headers: {
83"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
84"Accept": "application/json, text/javascript, */*; q=0.01",
85"Accept-Language": "en-US,en;q=0.5",
86"Sec-Fetch-Dest": "empty",
87"Sec-Fetch-Mode": "no-cors",
88"Sec-Fetch-Site": "same-origin",
89"X-Requested-With": "XMLHttpRequest",
90"Priority": "u=4",
94});
9596if (!response.ok) throw new Error(`Failed to fetch data: ${response.statusText}`);
9798const text = await response.text();
126}).toString() + _0x249a7e.substr(_0x249a7e.indexOf("&")) + "&alias=" + _0x4d306e;
127128const apiResponse = await fetch(api, {
129headers: {
130"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
131"Accept": "application/json, text/javascript, */*; q=0.01",
132"Accept-Language": "en-US,en;q=0.5",
133"Sec-Fetch-Dest": "empty",
134"Sec-Fetch-Mode": "no-cors",
135"Sec-Fetch-Site": "same-origin",
136"X-Requested-With": "XMLHttpRequest",
137"Priority": "u=4",
141});
142143if (!apiResponse.ok) throw new Error(`Failed to fetch API: ${apiResponse.statusText}`);
144145const apiData = await apiResponse.json();
159(async () => {
160const scraper = new AnimeScraper("https://anitaku.pe/one-piece-dub-episode-1085");
161await scraper.fetchPage();
162await scraper.processServers();
163})();
ReactStream_migratedREADME.md2 matches
73```
7475### Fetch data on the server to set initial props
767779// example middleware
80async function getInitialProps (req: Request, res: Response, next) {
81// fetch data or do async work to pass as props to the component
82req.data = {
83hello: "props",
1# processTracksBlobsJob
23Periodically fetch all Spotify tracks from Blob storage and update the `tracks` database with a subset of display information.
45Keys take the format: `spotify_track_id:4tVhBXOhSlqYCL2IjyoUNu`.
copperScorpionmain.tsx3 matches
1import { fetch } from "https://esm.town/v/std/fetch";
2export default async function(request: Request) {
3const url = new URL(request.url);
4const h = url.searchParams.get("tdestination");
5if (h) {
6const resp = await fetch(decodeURIComponent(url.searchParams.get("tdestination")), {
7method: request.method,
8body: request.body,
13}
14else {
15const resp = await fetch(decodeURIComponent(url.searchParams.get("destination")), {
16method: request.method,
17body: request.body,