fasthtmlparser 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.md +79 -0
- data/README.md +196 -0
- data/fasthtmlparser.gemspec +26 -0
- data/lib/fasthtmlparser/attr.rb +243 -0
- data/lib/fasthtmlparser/attrs.rb +278 -0
- data/lib/fasthtmlparser/chars.rb +258 -0
- data/lib/fasthtmlparser/css.rb +1061 -0
- data/lib/fasthtmlparser/decode.rb +164 -0
- data/lib/fasthtmlparser/entities.rb +2251 -0
- data/lib/fasthtmlparser/html.rb +52 -0
- data/lib/fasthtmlparser/html_document.rb +294 -0
- data/lib/fasthtmlparser/html_node.rb +706 -0
- data/lib/fasthtmlparser/links.rb +499 -0
- data/lib/fasthtmlparser/parser.rb +893 -0
- data/lib/fasthtmlparser/query.rb +221 -0
- data/lib/fasthtmlparser/tags.rb +761 -0
- data/lib/fasthtmlparser/text.rb +280 -0
- data/lib/fasthtmlparser/version.rb +5 -0
- data/lib/fasthtmlparser/xpath.rb +1151 -0
- data/lib/fasthtmlparser/xpath_compiler.rb +627 -0
- data/lib/fasthtmlparser.rb +35 -0
- metadata +66 -0
metadata
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: fasthtmlparser
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- z3l
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: A page becomes a flat list of tags that hold only positions in the source;
|
|
13
|
+
text, attributes and entities are read when they are asked for. HTML5 optional end
|
|
14
|
+
tags, all 2125 named entities, XPath 1.0, CSS selectors, links resolved against
|
|
15
|
+
the page URL. Pure Ruby, no dependencies.
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- LICENSE.md
|
|
21
|
+
- README.md
|
|
22
|
+
- fasthtmlparser.gemspec
|
|
23
|
+
- lib/fasthtmlparser.rb
|
|
24
|
+
- lib/fasthtmlparser/attr.rb
|
|
25
|
+
- lib/fasthtmlparser/attrs.rb
|
|
26
|
+
- lib/fasthtmlparser/chars.rb
|
|
27
|
+
- lib/fasthtmlparser/css.rb
|
|
28
|
+
- lib/fasthtmlparser/decode.rb
|
|
29
|
+
- lib/fasthtmlparser/entities.rb
|
|
30
|
+
- lib/fasthtmlparser/html.rb
|
|
31
|
+
- lib/fasthtmlparser/html_document.rb
|
|
32
|
+
- lib/fasthtmlparser/html_node.rb
|
|
33
|
+
- lib/fasthtmlparser/links.rb
|
|
34
|
+
- lib/fasthtmlparser/parser.rb
|
|
35
|
+
- lib/fasthtmlparser/query.rb
|
|
36
|
+
- lib/fasthtmlparser/tags.rb
|
|
37
|
+
- lib/fasthtmlparser/text.rb
|
|
38
|
+
- lib/fasthtmlparser/version.rb
|
|
39
|
+
- lib/fasthtmlparser/xpath.rb
|
|
40
|
+
- lib/fasthtmlparser/xpath_compiler.rb
|
|
41
|
+
homepage: https://github.com/romanti3172/fasthtmlparser-rb
|
|
42
|
+
licenses:
|
|
43
|
+
- LicenseRef-z3l-source-available
|
|
44
|
+
metadata:
|
|
45
|
+
source_code_uri: https://github.com/romanti3172/fasthtmlparser-rb
|
|
46
|
+
bug_tracker_uri: https://github.com/romanti3172/fasthtmlparser-rb/issues
|
|
47
|
+
rubygems_mfa_required: 'true'
|
|
48
|
+
rdoc_options: []
|
|
49
|
+
require_paths:
|
|
50
|
+
- lib
|
|
51
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
|
+
requirements:
|
|
53
|
+
- - ">="
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '3.2'
|
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
requirements: []
|
|
62
|
+
rubygems_version: 4.0.20
|
|
63
|
+
specification_version: 4
|
|
64
|
+
summary: Fast HTML / XML parser for scraping, with XPath 1.0 and CSS selectors. Ruby
|
|
65
|
+
port of z3l.FastHtmlParser.
|
|
66
|
+
test_files: []
|