Comments (4)
Interesting error. This appears to be an issue with the SSL connection failing to establish correctly. Are you behind a firewall/proxy that may be interfering with this?
An API that can retrieve multiple videos is something we're considering, so definitely keep an eye out. It certainly won't be geared towards the ID (see my note below), but it should meet this use case more generally.
As an aside, we don't generally encourage the video IDs to be used anymore (you'll notice we don't provide them in this version of the API). The IDs and URIs in this version are not guaranteed to be strings or even to be directly under /videos
. In their place we encourage you to use the video's URI field as the unique identifier so that you're safe any changes to it.
from vimeo.py.
No, I do not use any proxy, just single dedicated server in Hetzner https://www.hetzner.de/en/hosting/produkte_rootserver/px120ssd with Ubuntu, ssh, nginx, uWSGI, Postgres and Django
May be it's related with harakiri http://uwsgi-docs.readthedocs.org/en/latest/Options.html#harakiri settings, I use 20 seconds... But on my local Mac this request needs 40 seconds at least...
I will try some later use vimeo.py for single API requests, I think, it will work...
from vimeo.py.
Ah, yeah, if you're causing the request to die from the uwsgi process, that may be the culprit. I would suggest making these requests in parallel instead of serially. We don't presently support the ability to make this one request to Vimeo, but you could use threads or some other mechanism to have several of them in process at the same time.
from vimeo.py.
There is http://docs.python-requests.org/en/v0.10.6/user/advanced/#asynchronous-requests and http://uwsgi-docs.readthedocs.org/en/latest/asyncio.html, but it mean, I need to hack Django scripts, how it process admin data...
I think, I know better way - I will just add field for caching stats and will update this field in cron script and will show this cached value in admin, it will easy...
from vimeo.py.
Related Issues (20)
- Push version 1.1.0 to PyPI HOT 1
- I try to upload a video got error "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" HOT 1
- Retrieving channel's metadatas HOT 1
- Video Subdomain embed not working HOT 1
- Any plans to update the requests version HOT 1
- Transcode status is 'complete' while upload status is 'in_progress' HOT 1
- Failed upload using Device Auth token HOT 4
- error importing vimeo: Python 3 HOT 6
- How to add chapters to videos? HOT 2
- Filename is set to "Unknown file name" when using v.upload()
- what is the proper format for uploading a video with a password?
- Here's a package for additional API support HOT 2
- URGENT!!!.....How to create a folder inside folder ? HOT 2
- How to create subfolder/nasted-folder inside parent folder with Vimeo API using python? HOT 3
- Location vs location
- "You have been banned" error when trying to post comment with token of another user. HOT 2
- NameError: name 'uri' is not defined HOT 2
- Uploading videos with vertical bar "|" character in video name/description HOT 1
- authenticateWithCodeGrant API is not working in 1.1.3
- emojis, U+10000 (F0, F1, F2, F3) unicode support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimeo.py.