gustavosf / api.legendas.tv Goto Github PK
View Code? Open in Web Editor NEWAPI para acesso aos dados e legendas do Legendas.tv
API para acesso aos dados e legendas do Legendas.tv
Oi Gustavo,
Primeiro, muito obrigado pelo projeto. Sua solução funciona perfeitamente, é elegante e limpa.
Uso já tem bastante tempo mas, há coisa de uns dias, começou a dar erro. Eu acho que o pessoal do site mudou a distribuição de alguma página. O erro é esse:
PHP Warning: file_put_contents(): Filename cannot be empty in ../lib/legendastv.php on line 209
Tentei ver o conteúdo das variáveis e traz um longo script, mais uma evidência de que mudaram algo no site. Mas meu mísero conhecimento de PHP morre por aí (sou das linguagens antigas, já mortas, hehe).
Se você ainda estiver mantendo o projeto, fica aí o comentário. Eu vou continuar fuçando, mas PHP realmente não é minha praia.
Obrigado!
I think they disable the api "util". Because, download and search does not return correclty. Is there someone having these issues too?
The same error occur running both codes: legenda_dir.php and legenda.php
Baixando SerieWhatever.S02E20.HDTV.x264-LOL-AFG-mSD-DIMENSION-ECI...
PHP Notice: Undefined offset: 1 in /home/user/Repos/api.legendas.tv/lib/legendastv.php on line 158
PHP Warning: file_put_contents(): Filename cannot be empty in /home/user/Repos/api.legendas.tv/lib/legendastv.php on line 160
Arquivo baixado!
#!/usr/bin/php
Warning: array_slice() expects parameter 1 to be array, null given in /home/ubuntu/workspace/api.legendas.tv/examples/legendas.php on line 22
Warning: implode(): Invalid arguments passed in /home/ubuntu/workspace/api.legendas.tv/examples/legendas.php on line 22
Fatal error: Call to undefined function curl_init() in /home/ubuntu/workspace/api.legendas.tv/lib/legendastv.php on line 118
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.