Skip to content

Commit

Permalink
Test member with undelimited email addresses
Browse files Browse the repository at this point in the history
Member has multiple email addresses. The scraper is recording these without splitting them.

TODO: They need to be split with ';'s. Issue: everypolitician/everypolitician-data#33726
  • Loading branch information
Oliver Denman committed May 18, 2017
1 parent 2dbb583 commit 316f8e2
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 0 deletions.
125 changes: 125 additions & 0 deletions test/cassettes/lct_htm.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions test/data/lct.htm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
:class: MemberPage
:url: http://www.legco.gov.hk/general/english/members/yr16-20/lct.htm
:to_h:
:id: yr16-20/lct
:term: yr16-20
:name: LAM Cheuk-ting
:honorific_prefix: Hon
:honorific_suffix: ''
:gender:
:faction: Democratic Party
# TODO: Split multiple email addresses with ';'
# Issue https://github.com/everypolitician/everypolitician-data/issues/33726
:email: [email protected]@[email protected]
:website: ''
:phone: 3611 0266 / 2650 0040
:fax: 3705 9822 / 2650 0955
:img: http://www.legco.gov.hk/images/mem_1620/lct.jpg
:area: New Territories East
:area_type: geographical
:source: http://www.legco.gov.hk/general/english/members/yr16-20/lct.htm

0 comments on commit 316f8e2

Please sign in to comment.