-
Notifications
You must be signed in to change notification settings - Fork 8.2k
feat(route): add eventbrite #19007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(route): add eventbrite #19007
Conversation
Successfully generated as following: http://localhost:1200/eventbrite/all-events/canada--toronto - Failed ❌
|
Successfully generated as following: http://localhost:1200/eventbrite/all-events/canada--toronto - Failed ❌
|
Successfully generated as following: http://localhost:1200/eventbrite/all-events/canada--toronto - Failed ❌
|
Addressed comments, however I still want this to support the .ca domain before merging as people in Canada like me will be using the .ca event brite not the .com |
Successfully generated as following: http://localhost:1200/eventbrite/all-events/canada--toronto - Failed ❌
|
{ | ||
source: ['eventbrite.com/d/:region/:eventType', 'eventbrite.ca/d/:region/:eventType'], | ||
target: '/:region/:eventType', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ | |
source: ['eventbrite.com/d/:region/:eventType', 'eventbrite.ca/d/:region/:eventType'], | |
target: '/:region/:eventType', | |
}, | |
{ | |
source: ['eventbrite.com/d/:region/:eventType'], | |
target: '/:region/:eventType', | |
}, | |
{ | |
source: ['eventbrite.ca/d/:region/:eventType'], | |
target: '/:region/:eventType', | |
}, |
headers: { | ||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the site only work on this fixed version of Firefox on Windows? If the answer is no, please remove it which RSSHub will use a randomised Chrome on macOS by default.
title: `should be ${fallbackTitle}`, | ||
author: pElements.length > 1 ? `should be ${$(pElements[1]).text()}` : 'unknown author', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not use should be
or unknown author
. Leave it undefined
if you don't know.
description: eventData.summary, | ||
id: eventData.eventbrite_event_id, | ||
content: { | ||
html: `${eventDate(eventData)}\n${getAuthor(eventData)}\n${getTicketPriceRange(eventData)}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
html: `${eventDate(eventData)}\n${getAuthor(eventData)}\n${getTicketPriceRange(eventData)}`, | |
html: `${eventDate(eventData)}<br>${getAuthor(eventData)}<br>${getTicketPriceRange(eventData)}`, |
Involved Issue / 该 PR 相关 Issue
N/A
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
Puppeteer
Note / 说明
I don't know how to scope the radar to work on eventbrite.ca as well.
Future Improvements