Hey there! I'm Hju Kneyck, a software developer who's passionate about solving business problems and building ambitious software products.
Stats | Contributions |
---|---|
|
|
Web service that enables application developers to convert YouTube videos to audio files.
Home Page: https://audible-youtube.herokuapp.com
License: MIT License
Implement an endpoint that returns multiple results for a search query
Heroku log:
2022-06-22T14:41:52.036084+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/fastapi/routing.py", line 226, in app
2022-06-22T14:41:52.036084+00:00 app[web.1]: raw_response = await run_endpoint_function(
2022-06-22T14:41:52.036084+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/fastapi/routing.py", line 159, in run_endpoint_function
2022-06-22T14:41:52.036085+00:00 app[web.1]: return await dependant.call(**values)
2022-06-22T14:41:52.036085+00:00 app[web.1]: File "/app/app/api/endpoints.py", line 236, in search
2022-06-22T14:41:52.036085+00:00 app[web.1]: result = await _extract_video_summary(result)
2022-06-22T14:41:52.036085+00:00 app[web.1]: File "/app/app/api/endpoints.py", line 52, in _extract_video_summary
2022-06-22T14:41:52.036085+00:00 app[web.1]: "id": entry["id"],
2022-06-22T14:41:52.036086+00:00 app[web.1]: TypeError: 'NoneType' object is not subscriptable
Heroku logs:
2022-06-28T11:06:54.245360+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/starlette/routing.py", line 61, in app
2022-06-28T11:06:54.245360+00:00 app[web.1]: response = await func(request)
2022-06-28T11:06:54.245360+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/fastapi/routing.py", line 226, in app
2022-06-28T11:06:54.245360+00:00 app[web.1]: raw_response = await run_endpoint_function(
2022-06-28T11:06:54.245360+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/fastapi/routing.py", line 159, in run_endpoint_function
2022-06-28T11:06:54.245360+00:00 app[web.1]: return await dependant.call(**values)
2022-06-28T11:06:54.245361+00:00 app[web.1]: File "/app/app/api/endpoints.py", line 73, in download
2022-06-28T11:06:54.245361+00:00 app[web.1]: result = await _validate_search_result(result["result"])
2022-06-28T11:06:54.245361+00:00 app[web.1]: TypeError: list indices must be integers or slices, not str
http://audible-youtube.herokuapp.com/search?query=12345678asdfghj1234512345678asdfghj12345
The URL above returns {"playlist":{"result":[]}}
.
It should be {"errors": ["search query did not return a matching result"]}
according to the documentation.
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.