chef 3746 Posted September 26, 2016 Share Posted September 26, 2016 Anyone know of an local Theater Showtimes API on the web. Google will display HTML of local Showtimes that could be "HTMLAgilty" packed into a plugin, but requesting JSON would be faster... Ya know. Link to comment Share on other sites More sharing options...
dcrdev 251 Posted September 26, 2016 Share Posted September 26, 2016 I think scraping Google will be against their TOS. I found this: https://github.com/erunion/showtimes ^ Not sure where the data comes from though... 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 26, 2016 Share Posted September 26, 2016 there appear to be several but they all want mooola for you to use them offically or sound a tad dodgy or terms of service apply or.... quick "theatre showtimes api" goolge will get you going 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted September 28, 2016 Author Share Posted September 28, 2016 (edited) I wrote a channel. I was able to get the information I need off the internet. The plugin itself can't be put into Embys catalog, but I could post it here maybe. I just need to get some string replacements in order to display the information. The only other thing is how to display the channel. The page is going to look like a Libraray. What would be cool is to link to a trailer available in the trailers plugin. Instead of the normal metadata it will display Showtimes at your local Theater. The Theater phone number, and location. What would be even more amazing would be to somehow allow the purchase of tickets for a showtime directly from the channel interface. But, that is more then a little difficult. Both APIs mentioned in this thread gather their information from the same place I got it from. But, as stated above, it goes against certain TOS. Edited September 28, 2016 by chef Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted September 28, 2016 Share Posted September 28, 2016 @@chef i would be interested to test etc Link to comment Share on other sites More sharing options...
chef 3746 Posted September 28, 2016 Author Share Posted September 28, 2016 @@chef i would be interested to test etc Great. Should post here soon Link to comment Share on other sites More sharing options...
chef 3746 Posted October 3, 2016 Author Share Posted October 3, 2016 I was able to finally build an API to get the information needed to have a Library of local movies and Showtimes. Where the genre line in the emby UI show the different Showtimes of a particular movie playing at your local Theater. However, I have two questions: 1. How do you add HtmlAgilityPack to your plugin so that it is like an embedded resource. Most channels use this library however it is not in Embys list of resources. So when emby updates it removes HtmlAgilityPack DLL from the folder structure. 2. Can I use Embys internal Image scrapper in my channel? I have all the items showing on the channel, but haven't any way of giving them an InageUrl parameter. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted October 18, 2016 Share Posted October 18, 2016 @@chef Any update? Link to comment Share on other sites More sharing options...
chef 3746 Posted October 18, 2016 Author Share Posted October 18, 2016 (edited) Edited October 18, 2016 by chef Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted October 18, 2016 Share Posted October 18, 2016 no problem when you are ready i have some coding plans as well Link to comment Share on other sites More sharing options...
chef 3746 Posted October 18, 2016 Author Share Posted October 18, 2016 I used Xpath to read HTML and choose Showtimes and movie names. It took forever to get it working. Maybe I should just post the sln. Link to comment Share on other sites More sharing options...
ebr 14929 Posted October 19, 2016 Share Posted October 19, 2016 Maybe I should just post the sln. Let's not do that please since this web-scraping technique is against our development terms. Thanks. 1 Link to comment Share on other sites More sharing options...
chef 3746 Posted October 19, 2016 Author Share Posted October 19, 2016 Okay. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now