-
Notifications
You must be signed in to change notification settings - Fork 84
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
Trailer method in Title class is broken #328
Comments
Well.. imdb changed the trailer page, so this is to be expected. if anyone is interested in fixing this the right way here is the query i use:
Figure out the rest yourself as it works the same as other GraphQL methods. As a courtesy to show that i DO care and respect this project and maintainers. |
Thanks @duck7000, I actually already implemented your graphql method in my own fork. Just took out the get_headers() check which takes forever on my environnement, don't know why. |
Get_headers will check if the found url can be used as embedded url in an iframe, not all urls are allowed to do so. It wonders me though why you add this issue here but use your own fork? |
Well, because I'm not a developper, and true developpers do a better work than me :) |
I'm not a true developer either hah |
Trailers is still broken. |
My 2 cents on a fix. I only return the 1080 version per trailer. When one wants multiple version they are free to adjust the code ;) Second i filter out foreign languages. |
@pb1dft i DO appreciate you did try to fix this but what i don't understand is that if there is a solid fix (with GraphQL) why you (and other people) do insist to use old scraper methods while there is a perfect solution ready to use? You may want to look at my trailer method here (frome line 2000) |
Because some of us have this library incoorporated in a much larger project ;) |
Just tested with "2001, a space odyssey".
No trailer is found, despite there are many:
https://www.imdb.com/title/tt0062622/videogallery/content_type-trailer
The text was updated successfully, but these errors were encountered: