- Create a new directory with these three files (requirements.txt, main.py, README.md)
python -m venv venvsource venv/bin/activatepip install -r requirements.txtpython main.py- Update
main()to run the example prompt chains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as cheerio from "cheerio"; | |
| import puppeteerExtra from "puppeteer-extra"; | |
| import stealthPlugin from "puppeteer-extra-plugin-stealth"; | |
| import chromium from "@sparticuz/chromium"; | |
| async function searchGoogleMaps() { | |
| try { | |
| const start = Date.now(); | |
| puppeteerExtra.use(stealthPlugin()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Paste this in the dev tool console on the first page | |
| // Url for first page: | |
| // http://taxsales.lgbs.com/api/property_sales/?county=ANGELINA+COUNTY&in_bbox=-95.62192173425001,30.916356125972055,-93.51254673425001,31.635837153739583&offset=0&ordering=precinct,sale_nbr,uid&sale_type=SALE,RESALE,STRUCK+OFF,FUTURE+SALE&state=TX | |
| function getTheProperties() { | |
| // Get any existing stuff | |
| allThePropertiesThusFar = JSON.parse(window.localStorage.getItem('realEstateProperties')); | |
| // If we don't have any yet, let's set it to an array | |
| allThePropertiesThusFar = allThePropertiesThusFar ? allThePropertiesThusFar : []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In this document, I outline the tasks required for storing and | |
| presenting the Ethereum block chain and Web-based Ethereum Đapps in | |
| ipfs. Currently, ipfs is very good at locating and delivering content | |
| using a global, consistent address space and it has a very well designed | |
| and implemented http gateway. However, Ethereum's use cases require | |
| additional capabilities that ipfs currently does not provide. | |
| Redundancy and persistency |