Skip to content

Commit

Permalink
fix(bitcointalk): add missing configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
kouloumos committed Dec 13, 2024
1 parent 7852651 commit 3d138a1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions scraper/scrapy_sources_configs/bitcointalk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
selectors:
index_page:
items:
item_selector:
selector: td.windowbg > span > a
attribute: href
multiple: true
pattern: \?topic=\d+
next_page:
selector: td.middletext span.prevnext:last-of-type a.navPages
attribute: href
resource_page:
items:
item_selector:
selector: table.bordercolor > tr > td > table > tr > td[class^="windowbg"]
multiple: true
title:
selector: .subject > a
author:
selector: .poster_info > b > a
date:
selector: .td_headerandpost .smalltext
transform: parse_date
content:
selector: .post
url:
selector: .subject a
attribute: href
next_page:
selector: td.middletext span.prevnext:last-of-type a.navPages
attribute: href

0 comments on commit 3d138a1

Please sign in to comment.