We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721dc23 commit 27f9f9aCopy full SHA for 27f9f9a
2 files changed
lib/html2rss/configs/cnet.com/section_sub.yml
@@ -0,0 +1,16 @@
1
+---
2
+channel:
3
+ url: https://www.cnet.com/%<section>s/%<sub>s/
4
+ language: en
5
+ ttl: 360
6
+ time_zone: UTC
7
+selectors:
8
+ items:
9
+ selector: ".c-storiesNeonHighlightsCard"
10
+ title:
11
+ selector: ".g-text-bold"
12
+ link:
13
+ selector: a:first
14
+ extractor: href
15
+ description:
16
+ selector: span
spec/html2rss/configs/cnet.com/section_sub.yml_spec.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+RSpec.describe 'cnet.com/section_sub.yml' do
+ include_examples 'config.yml', 'cnet.com/section_sub.yml', section: 'culture', sub: 'internet'
+end
0 commit comments