Comments (3)
This could even be extended as a way to support annotations:
Named macros could be defined in a separate file and then that file name passed to the multi
command as an option.
shot-scraper multi shots.yaml --macro macros.yaml
from shot-scraper.
Partly inspired by thinking about:
from shot-scraper.
We're starting to build out our usage of shot-scraper
and could really use the ability to define macros for usage later. Not so much the inputs
functionality, just predefined functions would be enough.
My Python is rusty, but I'd be happy to try and PR this without inputs
if you're receptive
from shot-scraper.
Related Issues (20)
- Promote shot-scraper Discord channel HOT 1
- Take screenshots of multiple elements
- Optionally disable content security policies HOT 3
- Issue running on M1 mac using conda HOT 1
- Need option to skip errors other than http error
- Make --timeout option consistent across all commands (including javascript) HOT 2
- Improve documentation a11y
- Add color-scheme option
- Option to provide headers and cookies HOT 1
- Add --proxy parameter to CLI interface HOT 2
- Proposal: add option to combine actions HOT 1
- Interactive screenshots revert to original page state before saving HOT 3
- Experimental feature: heap snapshots HOT 1
- interactive mode doesn't respect viewport size for initial window HOT 2
- bash interpolation inside shots.yml HOT 1
- Interactive automated browsing? (GPT-4V autopilot, simple scripting, etc) HOT 2
- Auto scraper?
- Failing test: Selector with a wait HOT 1
- Proposal: Add an option to make device scale factor flexible, in addition to the existing --retina argument HOT 1
- Proposal: Add an option to pass custom browser arguments to Playwright when launching the browser HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shot-scraper.