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
/** | |
* Basic structure: TC_Class is the public class that is returned upon being called | |
* | |
* So, if you do | |
* var tc = $(".timer").TimeCircles(); | |
* | |
* tc will contain an instance of the public TimeCircles class. It is important to | |
* note that TimeCircles is not chained in the conventional way, check the | |
* documentation for more info on how TimeCircles can be chained. | |
* |
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
-q "query" - Search term | |
-p 1 - <optional> number of pages to scrape (50 results per page) | |
-r playlist,channel - <optional> recursively extract videos from channels or playlists, default is off (be careful some channels / playlists may have thousands of videos, api is slow to process all) | |
--headers true - print with headers or not (false value) | |
Examples: | |
prints to console itself: | |
python youtube_search.py -q "async await" -p 1 -r playlist --headers false |
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
const path = require('path'); | |
const fs = require('fs'); | |
const Web3 = require('web3'); | |
const abiDecoder = require('abi-decoder'); | |
const openseaAbi = require('./opensea-abi'); | |
const EtherscanApi = require('etherscan-api'); | |
const {Sequelize, DataTypes} = require('sequelize'); | |
/* | |
xeno |