fetch_util 0.8.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +153 -0
- data/README.md +10 -0
- data/lib/fetch_util/assets/extract.js +1 -1
- data/lib/fetch_util/fetcher.rb +1 -0
- data/lib/fetch_util/version.rb +1 -1
- metadata +2 -2
data/lib/fetch_util/fetcher.rb
CHANGED
|
@@ -285,6 +285,7 @@ module FetchUtil
|
|
|
285
285
|
payload = snapshot.payload
|
|
286
286
|
final_url = snapshot.final_url
|
|
287
287
|
content_type = payload["contentType"] || "article"
|
|
288
|
+
return "article" if payload["sourceOwnedLiveblog"] == true
|
|
288
289
|
return "article" if content_type == "list" && scholarly_article_markdown?(final_url, snapshot)
|
|
289
290
|
return "article" if content_type == "list" && credible_article_route?(final_url, snapshot)
|
|
290
291
|
|
data/lib/fetch_util/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fetch_util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hmdne
|
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
216
216
|
- !ruby/object:Gem::Version
|
|
217
217
|
version: '0'
|
|
218
218
|
requirements: []
|
|
219
|
-
rubygems_version: 4.0.
|
|
219
|
+
rubygems_version: 4.0.21
|
|
220
220
|
specification_version: 4
|
|
221
221
|
summary: AI for fetching in Ruby
|
|
222
222
|
test_files: []
|