Skip to content

Commit

Permalink
Updated capitoltheatre workflow to get missing events
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Feb 13, 2024
1 parent 14a3888 commit f314482
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/capitoltheatre-events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Run Main Script
run: |
bundle exec ruby src/main.rb \
https://capitoltheatre.ca/page/ \
"div.et_pb_portfolio_grid_items a" \
https://capitoltheatre.ca/events/list/?tribe_paged= \
"h3.tribe-events-list-event-title a" \
output/capitoltheatre-events.jsonld \
true
Expand Down
2 changes: 1 addition & 1 deletion src/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def perform_sparql_transformations(graph, sparql_paths)
break
end

if page_number == 1 || page_number.nil?
if page_number.nil?
break
else page_number
page_number += 1
Expand Down

0 comments on commit f314482

Please sign in to comment.