Dalimil / Eventbrite-Tools

Eventbrite bot for securing tickets and getting all hidden ticket information. :robot: :stopwatch: :tickets:
Other
123 stars 26 forks source link

Eventbrite Script Issue Revisited #8

Closed albeealegend closed 4 years ago

albeealegend commented 4 years ago

I tried to set up the ticket-getter script for an event taking place Monday, April 13th, 2020 for 9 am in Eventbrite but when I hit Shift+F4, it would not bring up the ticket-getter script for me to modify?

Below is the url where I'm having the issue. DId Eventbrite block something? I'm no coder but can this be fixed or is there a work around?

Please, anyone assist.

Thank you and please stay safe.

https://www.eventbrite.com/e/barrel-aged-rho-tickets-102380845866?aff=eprofsaved

craigels39 commented 4 years ago

Eventbrite didn't change anything, Firefox did. The scratchpad functionality was removed starting with Firefox 72. The work around is to install an older copy of Firefox (71 or earlier) and make sure auto-updating is disabled.

Dalimil commented 4 years ago

@craigels39 @MeanderingCode Yea, you are right they removed the scratchpad. I updated the README instructions for running the scripts - now it should work the same way in both Chrome and Firefox.

albeealegend commented 4 years ago

Do you know if the GitHub will work on something like square..?

And thank you for your assistance.

Sent from my iPhone

On May 12, 2020, at 6:46 PM, craigels39 notifications@github.com wrote:

 Eventbrite didn't change anything, Firefox did. The scratchpad functionality was removed starting with Firefox 72. The work around is to install an older copy of Firefox (71 or earlier) and make sure auto-updating is disabled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

albeealegend commented 3 years ago

I'm no where near a coder and have followed the directions and pasted the ticket-getter.min as it didn't have a .js afterward. Below is what I saw when pasting it in Google Chrome when in Eventbrite. Plus, how would I run it and where would I put the start time and quantity? Thank you for your assistance.

<!DOCTYPE html>

Eventbrite-Tools/ticket-info.min.js at master · Dalimil/Eventbrite-Tools
Skip to content

Learn Git and GitHub without any code!

Using the Hello World guide, you’ll start a branch, write comments, and open a pull request.

Read the guide
  • Watch
    Notifications
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1 lines (1 sloc) 2.1 KB
(()=>{!function(){!function(){if(-1==location.href.indexOf("eventbrite")){const e="You must go to the Eventbrite event page and run the script from there!";throw console.error(e),new Error(e)}}();let e=null;const t=require("mediatorjs"),n=t&&t.get("ticketOrderOptions");if(n){const t=function(e){const t=e.match(/\"inventoryLevel\":[0-9]+/g);return t?t.map(e=>e.replace(/"inventoryLevel":/,"")):[]}(document.documentElement.innerHTML);t.length==n.collection.length&&n.collection.forEach((e,n)=>{e.number_of_tickets_remaining=e.number_of_tickets_remaining||t[n]});const o=function(e){return e.collection.map(function(e){return{name:e.ticket_name,quantity:{quantity_remaining:e.number_of_tickets_remaining},cost:e.is_free?"Free":null==e.total_cost?e.ticket_price:e.total_cost.display,status:{status_is_sold_out:e.status_is_sold_out,status_is_ended:e.status_is_ended,status_not_yet_started:e.not_yet_started,on_sale_status:e.on_sale_status},dates:{sales_start:e.start_sales_with_tz?new Date(e.start_sales_with_tz.utc).toLocaleString():"unavailable",sales_end:e.end_sales_with_tz?new Date(e.end_sales_with_tz.utc).toLocaleString():"unavailable"}}})}(n);e=JSON.stringify(o,null,2),o.length>1&&(e="<strong>There are several ticket classes...</strong>\n\n"+e)}else e="Unable to retrieve ticket information. Eventbrite must have changed their code...";console.log(e),function(e){const t="tooltip-custom-event-info";let n=document.getElementById(t);null!=n&&document.body.removeChild(n),(n=document.createElement("div")).id=t,n.style.cssText="width: 40%; max-height: 75%; white-space: pre; overflow-y: auto; background-color: #333; color: #EEE; border-radius: 6px; box-shadow: 0px 0px 5px #999; position: fixed; left: 1em; top: 6em; z-index: 10001; padding: 1em 2em 1em 1em;";const o=document.createElement("a");o.innerHTML="&times;",o.href="javascript:void(0)",o.onclick=function(){document.body.removeChild(this.parentElement)},o.style="float: right; font-weight: bold; font-size: 2.5em; line-height: 1em;position: fixed; left: 40%";const i=document.createElement("div");i.innerHTML=e,n.appendChild(o),n.appendChild(i),document.body.appendChild(n)}(e)}()})();
You can’t perform that action at this time.