Sunshine
8fc0fc155f
parse XML documents, save non-HTML and non-XML targets unparsed
2 years ago
Simone Mosciatti
ef3684025b
move to use http instead of https
2 years ago
Simone Mosciatti
db7ee697b3
rewrite small part of the input argument handling
...
the commit rewrite a small part of the input argument handling, trying
to follow besr rust practices.
We get rid of a variable and of a mutable reference while keeping the
code a bit more coincise.
2 years ago
Sunshine
89ce5029b9
add option to blacklist/whitelist domains
2 years ago
Sunshine
0df8613789
Rewrite part of function retrieve_asset, include support for brotli and deflate ( #312 )
...
do not crash the app if reqwest throws, add support for deflate & brotli
2 years ago
Sunshine
68a1531a11
Update packages ( #313 )
...
update dependencies
2 years ago
Sunshine
1b353d0b46
include unsafe-eval origin for isolated documents
3 years ago
Sunshine
900dd8d163
offload percent decoding to percent-encoding crate
3 years ago
Sunshine
2cc1870033
get rid of macros, move tests out of src
3 years ago
Sunshine
eeaea0df16
fix use of wrong charset
3 years ago
Sunshine
4bc8043f0f
account for charset when creating data URLs
3 years ago
Sunshine
5effa38392
use proper charset detection for linked assets
3 years ago
Sunshine
125aeeec3b
improve validation of charset found in HTML, use genuinely infinite timeout
3 years ago
Sunshine
c938ba6a2f
modify proper attribute for (i)frame elements
3 years ago
Sunshine
7686b2ea64
avoid excessive parsing of HTML into DOM
3 years ago
Sunshine
b29b9a6a7c
add option for saving document using custom encoding
3 years ago
Sunshine
b8aa545e8c
add support for wider range of charsets
3 years ago
Sunshine
6e6a60b305
Merge branch 'master' into more-tests-fixes-and-improvements
3 years ago
Sunshine
5db19d1a3e
update dependencies
3 years ago
Sunshine
a6e891b3c5
add more tests
3 years ago
Sunshine
2369a4dd3c
remove optional trailing space from CSS idents
3 years ago
Sunshine
a308a20411
simplify code of CLI tests
4 years ago
Sunshine
a6ddf1c13a
simplify code responsible for processing CSS
4 years ago
Sunshine
6f918f6c1c
make possible to unwrap NOSCRIPT nodes
4 years ago
Sunshine
2e86ee67a5
revamp codebase
4 years ago
Sunshine
325688acf5
add test for alternate stylesheets
4 years ago
Sunshine
11207d49d2
embed alternate stylesheets
4 years ago
Sunshine
385301bf16
clean up unused code
4 years ago
Sunshine
4921a70dda
Merge branch 'master' into change-meta-charset-to-utf-8
4 years ago
Sunshine
e0273c664a
forcefully set document's charset to UTF-8
4 years ago
Sunshine
6d629bfd4a
Merge pull request #244 from snshn/process-noscript
...
Process contents of NOSCRIPT tags
4 years ago
Sunshine
ae9d78a891
process contents of NOSCRIPT tags
4 years ago
Sunshine
0f55fb3c49
Merge pull request #243 from snshn/fix-embedding-picture-srcset
...
Fix embedding of srcset assets for PICTURE nodes
4 years ago
Sunshine
e41fd6a1c6
fix embedding of srcset for PICTURE nodes
4 years ago
Sunshine
9a27c6c5ee
add color to asset download log
4 years ago
Sunshine
2e1462a953
add test for stdin pipe
4 years ago
Sunshine
4fa2eda983
make it possible to specify an empty user-agent string
4 years ago
Sunshine
ab6fed6d1f
Merge pull request #231 from snshn/fix-srcset
...
Fix srcset parsing
4 years ago
Sunshine
614a518475
fix srcset parsing
4 years ago
Sunshine
870a4b150e
make possible to use stdin as input method
4 years ago
Sunshine
4ba4285b6b
add support for embedding video and audio files
4 years ago
Sunshine
8adf059980
fix crash associated with trailing/repeating commas within srcset
4 years ago
Sunshine
d89b4d5f5b
refactor code that processes the DOM
4 years ago
Sunshine
15d98a7269
don't modify base url by default, add option for setting it
4 years ago
Sunshine
38a6f963ad
account for network errors, add option to ignore them
4 years ago
zfhrp
a296531b3f
remove unused import opts::Options;
4 years ago
Sunshine
1d6392cb28
implement support for BASE tag
4 years ago
Sunshine
03cdc0e0b2
Merge pull request #201 from snshn/refactor-and-version-bump
...
Refactor and version bump
4 years ago
Sunshine
73c35eaccb
treat minus for output target file path as stdout
4 years ago
Sunshine
90f7c3a0d0
alphabetical order for function names
4 years ago