jazzband / django-embed-video Goto Github PK
View Code? Open in Web Editor NEWDjango app for easy embedding YouTube and Vimeo videos and music from SoundCloud.
Home Page: http://django-embed-video.rtfd.org
License: MIT License
Django app for easy embedding YouTube and Vimeo videos and music from SoundCloud.
Home Page: http://django-embed-video.rtfd.org
License: MIT License
Add a callable function to display the video thumbnail on list_display, something like this:
class AdminVideoMixin(object):
def admin_video_thumbnail(self, obj):
return u"<img src='%s' />" % VideoBackend(obj.video).thumbnail
admin_video_thumbnail.allow_tags = True
admin_video_thumbnail.short_description = u"Video"
Try to type the URL "http://youtube.com/watch?id=5" in EmbedVideoFormField.
File "/usr/local/lib/python2.7/dist-packages/embed_video/backends.py" in get_code
code = urlparse.parse_qs(parse_data.query)['v'][0]
Exception Type: KeyError at ...
Exception Value: 'v'
Proposal:
{% load embed_video_tags %}
{% video object.video as my_video %}
Video has been found.
{% empty %}
Video doesn't exist.
{% endvideo %}
Malek Yala wrote:
Hey troubles with django-embed-video
It works very well when I want to have a video but when I leave the urlfield blank I get an UnknownBackenExeption error. I have added blank=True, tried Null=True, required=false, but my blog model doesn't seem allow me to NOT have an embed.
Please Help,
Malek
Environment:
Request Method: GET
Request URL: ****
Django Version: 1.6.2
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'filebrowser',
'django.contrib.admin',
'south',
'taggit',
'file_picker',
'file_picker.uploads',
'file_picker.wymeditor',
'bootstrap_toolkit',
'social_poster',
'imagekit',
'collage',
'PIL',
'markdown',
'photologue',
'django_evolution',
'admin_honeypot',
'dbbackup',
's3_folder_storage',
'disqus',
'django_social_share',
'django_bitly',
'taggit_templatetags',
'easy_thumbnails',
'optimizations',
'responsive_images',
'embed_video',
'filebrowser',
'tinymce',
'blog',
'gallery',
'home',
'contact',
'debug_toolbar')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware')
Template error:
In template /www/mysite/mysite/templates/blog.html, error at line 33
(Could not get exception message)
23 : <p class="p2">{{blog.perex|safe}}</p>
24 : <div class="row">
25 :
26 :
27 :
28 :
29 :
30 :
31 :
32 :
33 : {% video blog.embed "420x300" %}
34 : </div>
35 : <p class="p2">{{blog.content|safe}}</p>
36 : <div class="row">
37 :
38 :
39 :
40 : </div>
41 : {% include "share.html" %}
42 :
43 :
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
139. response = response.render()
File "/usr/local/lib/python2.7/dist-packages/django/template/response.py" in render
105. self.content = self.rendered_content
File "/usr/local/lib/python2.7/dist-packages/django/template/response.py" in rendered_content
82. content = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
140. return self._render(context)
File "/usr/local/lib/python2.7/dist-packages/django/test/utils.py" in instrumented_test_render
85. return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
123. return compiled_parent._render(context)
File "/usr/local/lib/python2.7/dist-packages/django/test/utils.py" in instrumented_test_render
85. return self.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)
File "/usr/local/lib/python2.7/dist-packages/django/template/base.py" in render
840. bit = self.render_node(node, context)
File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py" in render_node
78. return node.render(context)
File "/usr/local/lib/python2.7/dist-packages/embed_video/templatetags/embed_video_tags.py" in render
71. return self.__render_embed(url, context)
File "/usr/local/lib/python2.7/dist-packages/embed_video/templatetags/embed_video_tags.py" in __render_embed
77. return self.embed(url, size, context=context)
File "/usr/local/lib/python2.7/dist-packages/embed_video/templatetags/embed_video_tags.py" in embed
101. backend = VideoNode.get_backend(url, context=context)
File "/usr/local/lib/python2.7/dist-packages/embed_video/templatetags/embed_video_tags.py" in get_backend
90. backend = detect_backend(backend)
File "/usr/local/lib/python2.7/dist-packages/embed_video/backends.py" in detect_backend
39. raise UnknownBackendException
Exception Type: UnknownBackendException at /blog/tested/
Exception Value:
When the YT get_code function is given a URL that has any extra data after the v=CODE, the re is returning the last code whereas it should be returning the first code.
For example, take this YT url:
http://www.youtube.com/watch?v=6xu00J3-g2s&list=PLb5n6wzDlPakFKvJ69rJ9AJW24Aaaki2z
The get_code function returns PLb5n6wzDlP, where it should return 6xu00J3-g2s.
My regex skills aren't quite good enough to know how to fix this, but I'm guessing that Juda, yours are!
It is caused by non-sorted dict. No solution yet.
http://stackoverflow.com/questions/14956313/dictionary-ordering-non-deterministic-in-python3
Is there a way to get exceptions when using form_class
with django.views.generic.edit.CreateView
?
It only works when I use the default CreateView
class VideoCreate(CreateView): model = Video
Also it doesn't raise exceptions in the Django shell.
pip-compile created my requirements and used version 1.1.0. However, on some of my servers that version no longer exists.
When using pip-tools to pin requirements, you get django-embed-video==1.1.0
(for example). 1.1.0
appears to have been removed from PyPI. Since 1.1.2
doesn't fix any security vulnerabilities or make 1.1.0
otherwise dangerous to use, it would be beneficial to keep the old versions on PyPI for pinned version builds to stay reproducible.
I tried installing django-embed-video using the command:
pip install django-embed-video
But I am getting the error:
ImportError: No module named 'importlib.util'
I am using Windows 8, and am running Python 3.4.1. Why am I getting this error? I thought importlib comes along with Python 3.4.1
Here are the contents of pip.log
------------------------------------------------------------
D:\Python\Scripts\pip run on 07/19/14 19:16:29
Downloading/unpacking django-embed-video
Getting page https://pypi.python.org/simple/django-embed-video/
URLs to search for versions for django-embed-video:
* https://pypi.python.org/simple/django-embed-video/
Analyzing links from page https://pypi.python.org/simple/django-embed-video/
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.0.1.tar.gz#md5=8b3558433713744a673a8b8057b1d9fc (from https://pypi.python.org/simple/django-embed-video/), version: 0.0.1
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.1.0.tar.gz#md5=63134f944af90f7982c5fa4a7f0478b5 (from https://pypi.python.org/simple/django-embed-video/), version: 0.1.0
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.10.tar.gz#md5=eb6c511d82b0b071b2f767abb3313363 (from https://pypi.python.org/simple/django-embed-video/), version: 0.10
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.2.0.tar.gz#md5=135b4bea057fdc69e1922d6980a454b6 (from https://pypi.python.org/simple/django-embed-video/), version: 0.2.0
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.3.tar.gz#md5=fab0f2066bfc4da032231322ac693225 (from https://pypi.python.org/simple/django-embed-video/), version: 0.3
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.4.tar.gz#md5=3b180d43b9fc601b0c063d515c83fc5f (from https://pypi.python.org/simple/django-embed-video/), version: 0.4
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.5.tar.gz#md5=428baa3625a2051b8f174a9a87ed1779 (from https://pypi.python.org/simple/django-embed-video/), version: 0.5
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.6.tar.gz#md5=104f0c77b59df1304d76162108fc6121 (from https://pypi.python.org/simple/django-embed-video/), version: 0.6
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.7.tar.gz#md5=29a07dd6993a904a38a620ad72b4c6c7 (from https://pypi.python.org/simple/django-embed-video/), version: 0.7
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.8.tar.gz#md5=239113ffcbea31abd433a7238f21e981 (from https://pypi.python.org/simple/django-embed-video/), version: 0.8
Found link https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.9.tar.gz#md5=49431bfb2a21bcd84e7e1f0d6e99e8cc (from https://pypi.python.org/simple/django-embed-video/), version: 0.9
Using version 0.10 (newest of versions: 0.10, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2.0, 0.1.0, 0.0.1)
Downloading django-embed-video-0.10.tar.gz
Downloading from URL https://pypi.python.org/packages/source/d/django-embed-video/django-embed-video-0.10.tar.gz#md5=eb6c511d82b0b071b2f767abb3313363 (from https://pypi.python.org/simple/django-embed-video/)
Running setup.py (path:C:\Users\SONY\AppData\Local\Temp\pip_build_SONY\django-embed-video\setup.py) egg_info for package django-embed-video
running egg_info
creating pip-egg-info\django_embed_video.egg-info
writing dependency_links to pip-egg-info\django_embed_video.egg-info\dependency_links.txt
writing pip-egg-info\django_embed_video.egg-info\PKG-INFO
writing requirements to pip-egg-info\django_embed_video.egg-info\requires.txt
writing top-level names to pip-egg-info\django_embed_video.egg-info\top_level.txt
writing manifest file 'pip-egg-info\django_embed_video.egg-info\SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\django_embed_video.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info\django_embed_video.egg-info\SOURCES.txt'
Source in c:\users\sony\appdata\local\temp\pip_build_sony\django-embed-video has version 0.10, which satisfies requirement django-embed-video
Downloading/unpacking requests>=1.2.3 (from django-embed-video)
Getting page https://pypi.python.org/simple/requests/
URLs to search for versions for requests>=1.2.3 (from django-embed-video):
* https://pypi.python.org/simple/requests/
Analyzing links from page https://pypi.python.org/simple/requests/
Found link https://pypi.python.org/packages/2.7/r/requests/requests-2.0.0-py2.py3-none-any.whl#md5=6af9c16dbddd2fc751ae4f1606d041e8 (from https://pypi.python.org/simple/requests/), version: 2.0.0
Found link https://pypi.python.org/packages/2.7/r/requests/requests-2.0.1-py2.py3-none-any.whl#md5=d524f9a38a29efe1732fd130e5ebe433 (from https://pypi.python.org/simple/requests/), version: 2.0.1
Found link https://pypi.python.org/packages/2.7/r/requests/requests-2.1.0-py2.py3-none-any.whl#md5=0848cbc0cc7edd150cb8d6ddc25ca906 (from https://pypi.python.org/simple/requests/), version: 2.1.0
Found link https://pypi.python.org/packages/2.7/r/requests/requests-2.2.0-py2.py3-none-any.whl#md5=8f989615bb0d276d5f3158e7efab494c (from https://pypi.python.org/simple/requests/), version: 2.2.0
Found link https://pypi.python.org/packages/2.7/r/requests/requests-2.2.1-py2.py3-none-any.whl#md5=1e38addb978e50bd86f62bda53956b03 (from https://pypi.python.org/simple/requests/), version: 2.2.1
Found link https://pypi.python.org/packages/2.7/r/requests/requests-2.3.0-py2.py3-none-any.whl#md5=f2d850fd48fc10a93aa03d69b87b96b4 (from https://pypi.python.org/simple/requests/), version: 2.3.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.0.tar.gz#md5=c90a48af18eb4170dbe4832c1104440c (from https://pypi.python.org/simple/requests/), version: 0.10.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.1.tar.gz#md5=699147d2143bff95238befa58980b912 (from https://pypi.python.org/simple/requests/), version: 0.10.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.2.tar.gz#md5=47c3cf85a0112d423137b43989663bef (from https://pypi.python.org/simple/requests/), version: 0.10.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.3.tar.gz#md5=a055af00593f4828c3becd0ccfab503f (from https://pypi.python.org/simple/requests/), version: 0.10.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.4.tar.gz#md5=5e465e9e739bcc9f71935ca4e9706168 (from https://pypi.python.org/simple/requests/), version: 0.10.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.6.tar.gz#md5=c889401445de3cbbac98509208a73b83 (from https://pypi.python.org/simple/requests/), version: 0.10.6
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.7.tar.gz#md5=a3ac9d431981dcfd592fd0f35c499e4a (from https://pypi.python.org/simple/requests/), version: 0.10.7
Found link https://pypi.python.org/packages/source/r/requests/requests-0.10.8.tar.gz#md5=0fc89a30eef76b2393cbc7ebace91750 (from https://pypi.python.org/simple/requests/), version: 0.10.8
Found link https://pypi.python.org/packages/source/r/requests/requests-0.11.1.tar.gz#md5=c903c32a0e1f04889e693da8e9c71872 (from https://pypi.python.org/simple/requests/), version: 0.11.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.11.2.tar.gz#md5=5acd23600c897bf1560dca18005b428c (from https://pypi.python.org/simple/requests/), version: 0.11.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.12.0.tar.gz#md5=c38bacf4d6a065f3c47463e63efdfb5a (from https://pypi.python.org/simple/requests/), version: 0.12.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.12.1.tar.gz#md5=fe9e0515d09733d0eb9e2031c03401b2 (from https://pypi.python.org/simple/requests/), version: 0.12.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.0.tar.gz#md5=7d41e51c273806456faab61370d5147e (from https://pypi.python.org/simple/requests/), version: 0.13.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.1.tar.gz#md5=31a08091feeefe60817e45122d933219 (from https://pypi.python.org/simple/requests/), version: 0.13.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.2.tar.gz#md5=fac5635391778e2394a411d37e69ae5e (from https://pypi.python.org/simple/requests/), version: 0.13.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.3.tar.gz#md5=54387d7df6c69580b906dcb5a2bd0724 (from https://pypi.python.org/simple/requests/), version: 0.13.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.4.tar.gz#md5=286cd3352509691e81c520accc5b9e48 (from https://pypi.python.org/simple/requests/), version: 0.13.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.5.tar.gz#md5=805fd122b4cfd224e15ff2f5288c5ba0 (from https://pypi.python.org/simple/requests/), version: 0.13.5
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.6.tar.gz#md5=9ea0f38cc4bf444be5a4c90f127211f2 (from https://pypi.python.org/simple/requests/), version: 0.13.6
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.7.tar.gz#md5=9212044f915d44fe3010cb923c0e08e5 (from https://pypi.python.org/simple/requests/), version: 0.13.7
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.8.tar.gz#md5=d01596bd344db94763b2e4dfaa7bc7b9 (from https://pypi.python.org/simple/requests/), version: 0.13.8
Found link https://pypi.python.org/packages/source/r/requests/requests-0.13.9.tar.gz#md5=66d52b8f47be517fc91a6e18d6b9ce82 (from https://pypi.python.org/simple/requests/), version: 0.13.9
Found link https://pypi.python.org/packages/source/r/requests/requests-0.14.0.tar.gz#md5=a809c747e4f09b92147721ebc3e23dd6 (from https://pypi.python.org/simple/requests/), version: 0.14.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.14.1.tar.gz#md5=3de30600072cbc7214ae342d1d08aa46 (from https://pypi.python.org/simple/requests/), version: 0.14.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz#md5=488508ba3e8270992ad5b3fb54d364ca (from https://pypi.python.org/simple/requests/), version: 0.14.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.2.0.tar.gz#md5=637ae94cb6f2f1d9ea9020293055964a (from https://pypi.python.org/simple/requests/), version: 0.2.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.2.1.tar.gz#md5=7e9590f3985ece46fc8306e906b458c7 (from https://pypi.python.org/simple/requests/), version: 0.2.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.2.2.tar.gz#md5=a703489b1a4a650698ddcf84857360c6 (from https://pypi.python.org/simple/requests/), version: 0.2.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.2.3.tar.gz#md5=102243646fc0cffdc82269f4bb5c6d5d (from https://pypi.python.org/simple/requests/), version: 0.2.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.2.4.tar.gz#md5=62dbe8cf12bc1ccd03776e74f59e9ef6 (from https://pypi.python.org/simple/requests/), version: 0.2.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.3.0.tar.gz#md5=aa1306575a78ba8b5e625dd2645d2ef0 (from https://pypi.python.org/simple/requests/), version: 0.3.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.3.1.tar.gz#md5=3f4701e2ab414cd7018804a70328c527 (from https://pypi.python.org/simple/requests/), version: 0.3.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.3.2.tar.gz#md5=bde777f4c5b7bbb09033901c443962b3 (from https://pypi.python.org/simple/requests/), version: 0.3.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.3.3.tar.gz#md5=84c762c116617ba4dd03c19e2b61eb53 (from https://pypi.python.org/simple/requests/), version: 0.3.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.3.4.tar.gz#md5=55152cc2b135bc8989dc4fa279295f8b (from https://pypi.python.org/simple/requests/), version: 0.3.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.4.0.tar.gz#md5=77a7a7edd54169c6fa7ace49dcb0b20c (from https://pypi.python.org/simple/requests/), version: 0.4.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.4.1.tar.gz#md5=812ff0ce63d14f7b940bacd880d54ee0 (from https://pypi.python.org/simple/requests/), version: 0.4.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.5.0.tar.gz#md5=6dfdc1688217d774d524e056ec6605a6 (from https://pypi.python.org/simple/requests/), version: 0.5.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.5.1.tar.gz#md5=33a6e65d6a4e5b2d91df76256f607b81 (from https://pypi.python.org/simple/requests/), version: 0.5.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.0.tar.gz#md5=235e9fb6bfd71a48c0f00c0d5aef8896 (from https://pypi.python.org/simple/requests/), version: 0.6.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.1.tar.gz#md5=07770334d48bd69ede1cc28cd0dd7680 (from https://pypi.python.org/simple/requests/), version: 0.6.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.2.tar.gz#md5=0583bb5393b9cfcb022dc2aef7d6ffc8 (from https://pypi.python.org/simple/requests/), version: 0.6.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.3.tar.gz#md5=35a954ae85b358e498fb0e602f1dce9d (from https://pypi.python.org/simple/requests/), version: 0.6.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.4.tar.gz#md5=e0eec314178ad9a7bb14f2ec32f35ba3 (from https://pypi.python.org/simple/requests/), version: 0.6.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.5.tar.gz#md5=52f8bc956e027c8a0eb2684f6928169d (from https://pypi.python.org/simple/requests/), version: 0.6.5
Found link https://pypi.python.org/packages/source/r/requests/requests-0.6.6.tar.gz#md5=2180dacebc0e30ba730d083739907af6 (from https://pypi.python.org/simple/requests/), version: 0.6.6
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.0.tar.gz#md5=83a1a7d79218756efd19b254eeb6b1f0 (from https://pypi.python.org/simple/requests/), version: 0.7.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.1.tar.gz#md5=4821c6902d8e83c910c69c6492388e5f (from https://pypi.python.org/simple/requests/), version: 0.7.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.2.tar.gz#md5=03eb97ed6aacb4102fd434bbfc13ce17 (from https://pypi.python.org/simple/requests/), version: 0.7.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.3.tar.gz#md5=267f6f7d1109775d24a288f798e3ab4a (from https://pypi.python.org/simple/requests/), version: 0.7.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.4.tar.gz#md5=c015765399b8c1e309c84ade0d38f07b (from https://pypi.python.org/simple/requests/), version: 0.7.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.5.tar.gz#md5=9a12281a811ca25d347d806c456d96f1 (from https://pypi.python.org/simple/requests/), version: 0.7.5
Found link https://pypi.python.org/packages/source/r/requests/requests-0.7.6.tar.gz#md5=728b21bf3914d69a4ff1012c66d9b6ba (from https://pypi.python.org/simple/requests/), version: 0.7.6
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.0.tar.gz#md5=64dc0095cb645aa7f0083957950d524d (from https://pypi.python.org/simple/requests/), version: 0.8.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.1.tar.gz#md5=6135f837fbd113fc62904c60dcc5c70d (from https://pypi.python.org/simple/requests/), version: 0.8.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.2.tar.gz#md5=bdbbd7f45688e23e87eec52835959943 (from https://pypi.python.org/simple/requests/), version: 0.8.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.3.tar.gz#md5=93e4cd27ab646fb613a926fede1cc4f5 (from https://pypi.python.org/simple/requests/), version: 0.8.3
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.4.tar.gz#md5=642e5c70250989e4feda9c50be57b100 (from https://pypi.python.org/simple/requests/), version: 0.8.4
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.5.tar.gz#md5=5f2975ee9e57f4ea000e5a3f50fc85d1 (from https://pypi.python.org/simple/requests/), version: 0.8.5
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.6.tar.gz#md5=21b03926ab38417a704ebce57972571a (from https://pypi.python.org/simple/requests/), version: 0.8.6
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.7.tar.gz#md5=e4d4ee3a90396908bd04b50bf2136617 (from https://pypi.python.org/simple/requests/), version: 0.8.7
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.8.tar.gz#md5=bfb182cfd3ed839b97744c553b87f502 (from https://pypi.python.org/simple/requests/), version: 0.8.8
Found link https://pypi.python.org/packages/source/r/requests/requests-0.8.9.tar.gz#md5=ff5b3bf5bc3ad19930d3f3afe51f182b (from https://pypi.python.org/simple/requests/), version: 0.8.9
Found link https://pypi.python.org/packages/source/r/requests/requests-0.9.0.tar.gz#md5=5f6f03ec76f68a7a3f35120ab5a6c589 (from https://pypi.python.org/simple/requests/), version: 0.9.0
Found link https://pypi.python.org/packages/source/r/requests/requests-0.9.1.tar.gz#md5=8ed4667edb5d57945b74a9137adbb8bd (from https://pypi.python.org/simple/requests/), version: 0.9.1
Found link https://pypi.python.org/packages/source/r/requests/requests-0.9.2.tar.gz#md5=65b36d99a4d2f78a22f08c95d2475e33 (from https://pypi.python.org/simple/requests/), version: 0.9.2
Found link https://pypi.python.org/packages/source/r/requests/requests-0.9.3.tar.gz#md5=b13b6fbfa8fc3fc3c25bae300748053f (from https://pypi.python.org/simple/requests/), version: 0.9.3
Found link https://pypi.python.org/packages/source/r/requests/requests-1.0.0.tar.gz#md5=099c9035c4b30a7ae5484b1beabc7407 (from https://pypi.python.org/simple/requests/), version: 1.0.0
Found link https://pypi.python.org/packages/source/r/requests/requests-1.0.1.tar.gz#md5=2e938f26f2bdf2899862c751bfa7eff5 (from https://pypi.python.org/simple/requests/), version: 1.0.1
Found link https://pypi.python.org/packages/source/r/requests/requests-1.0.2.tar.gz#md5=e5c1a5a5472cd61f144743dd25a2a29f (from https://pypi.python.org/simple/requests/), version: 1.0.2
Found link https://pypi.python.org/packages/source/r/requests/requests-1.0.3.tar.gz#md5=a3169a33973d4b5b51843ead01c5e999 (from https://pypi.python.org/simple/requests/), version: 1.0.3
Found link https://pypi.python.org/packages/source/r/requests/requests-1.0.4.tar.gz#md5=0b7448f9e1a077a7218720575003a1b6 (from https://pypi.python.org/simple/requests/), version: 1.0.4
Found link https://pypi.python.org/packages/source/r/requests/requests-1.1.0.tar.gz#md5=a0158815af244c32041a3147ee09abf3 (from https://pypi.python.org/simple/requests/), version: 1.1.0
Found link https://pypi.python.org/packages/source/r/requests/requests-1.2.0.tar.gz#md5=22af2682233770e5468a986f451c51c0 (from https://pypi.python.org/simple/requests/), version: 1.2.0
Found link https://pypi.python.org/packages/source/r/requests/requests-1.2.1.tar.gz#md5=4d019670b94b17e329007d64e67e045e (from https://pypi.python.org/simple/requests/), version: 1.2.1
Found link https://pypi.python.org/packages/source/r/requests/requests-1.2.2.tar.gz#md5=1f655ab7f2aa7447a1657ed69786f436 (from https://pypi.python.org/simple/requests/), version: 1.2.2
Found link https://pypi.python.org/packages/source/r/requests/requests-1.2.3.tar.gz#md5=adbd3f18445f7fe5e77f65c502e264fb (from https://pypi.python.org/simple/requests/), version: 1.2.3
Found link https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f (from https://pypi.python.org/simple/requests/), version: 2.0.0
Found link https://pypi.python.org/packages/source/r/requests/requests-2.0.1.tar.gz#md5=38e61c2856d2ba2782286730241975e6 (from https://pypi.python.org/simple/requests/), version: 2.0.1
Found link https://pypi.python.org/packages/source/r/requests/requests-2.1.0.tar.gz#md5=28543001831f46b1ff40686ebc027deb (from https://pypi.python.org/simple/requests/), version: 2.1.0
Found link https://pypi.python.org/packages/source/r/requests/requests-2.2.0.tar.gz#md5=4d2e17221d478ece045e2e81cdb177f5 (from https://pypi.python.org/simple/requests/), version: 2.2.0
Found link https://pypi.python.org/packages/source/r/requests/requests-2.2.1.tar.gz#md5=ac27081135f58d1a43e4fb38258d6f4e (from https://pypi.python.org/simple/requests/), version: 2.2.1
Found link https://pypi.python.org/packages/source/r/requests/requests-2.3.0.tar.gz#md5=7449ffdc8ec9ac37bbcd286003c80f00 (from https://pypi.python.org/simple/requests/), version: 2.3.0
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.0.tar.gz#md5=c90a48af18eb4170dbe4832c1104440c (from https://pypi.python.org/simple/requests/), version 0.10.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.1.tar.gz#md5=699147d2143bff95238befa58980b912 (from https://pypi.python.org/simple/requests/), version 0.10.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.2.tar.gz#md5=47c3cf85a0112d423137b43989663bef (from https://pypi.python.org/simple/requests/), version 0.10.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.3.tar.gz#md5=a055af00593f4828c3becd0ccfab503f (from https://pypi.python.org/simple/requests/), version 0.10.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.4.tar.gz#md5=5e465e9e739bcc9f71935ca4e9706168 (from https://pypi.python.org/simple/requests/), version 0.10.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.6.tar.gz#md5=c889401445de3cbbac98509208a73b83 (from https://pypi.python.org/simple/requests/), version 0.10.6 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.7.tar.gz#md5=a3ac9d431981dcfd592fd0f35c499e4a (from https://pypi.python.org/simple/requests/), version 0.10.7 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.10.8.tar.gz#md5=0fc89a30eef76b2393cbc7ebace91750 (from https://pypi.python.org/simple/requests/), version 0.10.8 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.11.1.tar.gz#md5=c903c32a0e1f04889e693da8e9c71872 (from https://pypi.python.org/simple/requests/), version 0.11.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.11.2.tar.gz#md5=5acd23600c897bf1560dca18005b428c (from https://pypi.python.org/simple/requests/), version 0.11.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.12.0.tar.gz#md5=c38bacf4d6a065f3c47463e63efdfb5a (from https://pypi.python.org/simple/requests/), version 0.12.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.12.1.tar.gz#md5=fe9e0515d09733d0eb9e2031c03401b2 (from https://pypi.python.org/simple/requests/), version 0.12.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.0.tar.gz#md5=7d41e51c273806456faab61370d5147e (from https://pypi.python.org/simple/requests/), version 0.13.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.1.tar.gz#md5=31a08091feeefe60817e45122d933219 (from https://pypi.python.org/simple/requests/), version 0.13.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.2.tar.gz#md5=fac5635391778e2394a411d37e69ae5e (from https://pypi.python.org/simple/requests/), version 0.13.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.3.tar.gz#md5=54387d7df6c69580b906dcb5a2bd0724 (from https://pypi.python.org/simple/requests/), version 0.13.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.4.tar.gz#md5=286cd3352509691e81c520accc5b9e48 (from https://pypi.python.org/simple/requests/), version 0.13.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.5.tar.gz#md5=805fd122b4cfd224e15ff2f5288c5ba0 (from https://pypi.python.org/simple/requests/), version 0.13.5 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.6.tar.gz#md5=9ea0f38cc4bf444be5a4c90f127211f2 (from https://pypi.python.org/simple/requests/), version 0.13.6 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.7.tar.gz#md5=9212044f915d44fe3010cb923c0e08e5 (from https://pypi.python.org/simple/requests/), version 0.13.7 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.8.tar.gz#md5=d01596bd344db94763b2e4dfaa7bc7b9 (from https://pypi.python.org/simple/requests/), version 0.13.8 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.13.9.tar.gz#md5=66d52b8f47be517fc91a6e18d6b9ce82 (from https://pypi.python.org/simple/requests/), version 0.13.9 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.14.0.tar.gz#md5=a809c747e4f09b92147721ebc3e23dd6 (from https://pypi.python.org/simple/requests/), version 0.14.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.14.1.tar.gz#md5=3de30600072cbc7214ae342d1d08aa46 (from https://pypi.python.org/simple/requests/), version 0.14.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.14.2.tar.gz#md5=488508ba3e8270992ad5b3fb54d364ca (from https://pypi.python.org/simple/requests/), version 0.14.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.2.0.tar.gz#md5=637ae94cb6f2f1d9ea9020293055964a (from https://pypi.python.org/simple/requests/), version 0.2.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.2.1.tar.gz#md5=7e9590f3985ece46fc8306e906b458c7 (from https://pypi.python.org/simple/requests/), version 0.2.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.2.2.tar.gz#md5=a703489b1a4a650698ddcf84857360c6 (from https://pypi.python.org/simple/requests/), version 0.2.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.2.3.tar.gz#md5=102243646fc0cffdc82269f4bb5c6d5d (from https://pypi.python.org/simple/requests/), version 0.2.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.2.4.tar.gz#md5=62dbe8cf12bc1ccd03776e74f59e9ef6 (from https://pypi.python.org/simple/requests/), version 0.2.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.3.0.tar.gz#md5=aa1306575a78ba8b5e625dd2645d2ef0 (from https://pypi.python.org/simple/requests/), version 0.3.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.3.1.tar.gz#md5=3f4701e2ab414cd7018804a70328c527 (from https://pypi.python.org/simple/requests/), version 0.3.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.3.2.tar.gz#md5=bde777f4c5b7bbb09033901c443962b3 (from https://pypi.python.org/simple/requests/), version 0.3.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.3.3.tar.gz#md5=84c762c116617ba4dd03c19e2b61eb53 (from https://pypi.python.org/simple/requests/), version 0.3.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.3.4.tar.gz#md5=55152cc2b135bc8989dc4fa279295f8b (from https://pypi.python.org/simple/requests/), version 0.3.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.4.0.tar.gz#md5=77a7a7edd54169c6fa7ace49dcb0b20c (from https://pypi.python.org/simple/requests/), version 0.4.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.4.1.tar.gz#md5=812ff0ce63d14f7b940bacd880d54ee0 (from https://pypi.python.org/simple/requests/), version 0.4.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.5.0.tar.gz#md5=6dfdc1688217d774d524e056ec6605a6 (from https://pypi.python.org/simple/requests/), version 0.5.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.5.1.tar.gz#md5=33a6e65d6a4e5b2d91df76256f607b81 (from https://pypi.python.org/simple/requests/), version 0.5.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.0.tar.gz#md5=235e9fb6bfd71a48c0f00c0d5aef8896 (from https://pypi.python.org/simple/requests/), version 0.6.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.1.tar.gz#md5=07770334d48bd69ede1cc28cd0dd7680 (from https://pypi.python.org/simple/requests/), version 0.6.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.2.tar.gz#md5=0583bb5393b9cfcb022dc2aef7d6ffc8 (from https://pypi.python.org/simple/requests/), version 0.6.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.3.tar.gz#md5=35a954ae85b358e498fb0e602f1dce9d (from https://pypi.python.org/simple/requests/), version 0.6.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.4.tar.gz#md5=e0eec314178ad9a7bb14f2ec32f35ba3 (from https://pypi.python.org/simple/requests/), version 0.6.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.5.tar.gz#md5=52f8bc956e027c8a0eb2684f6928169d (from https://pypi.python.org/simple/requests/), version 0.6.5 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.6.6.tar.gz#md5=2180dacebc0e30ba730d083739907af6 (from https://pypi.python.org/simple/requests/), version 0.6.6 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.0.tar.gz#md5=83a1a7d79218756efd19b254eeb6b1f0 (from https://pypi.python.org/simple/requests/), version 0.7.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.1.tar.gz#md5=4821c6902d8e83c910c69c6492388e5f (from https://pypi.python.org/simple/requests/), version 0.7.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.2.tar.gz#md5=03eb97ed6aacb4102fd434bbfc13ce17 (from https://pypi.python.org/simple/requests/), version 0.7.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.3.tar.gz#md5=267f6f7d1109775d24a288f798e3ab4a (from https://pypi.python.org/simple/requests/), version 0.7.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.4.tar.gz#md5=c015765399b8c1e309c84ade0d38f07b (from https://pypi.python.org/simple/requests/), version 0.7.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.5.tar.gz#md5=9a12281a811ca25d347d806c456d96f1 (from https://pypi.python.org/simple/requests/), version 0.7.5 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.7.6.tar.gz#md5=728b21bf3914d69a4ff1012c66d9b6ba (from https://pypi.python.org/simple/requests/), version 0.7.6 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.0.tar.gz#md5=64dc0095cb645aa7f0083957950d524d (from https://pypi.python.org/simple/requests/), version 0.8.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.1.tar.gz#md5=6135f837fbd113fc62904c60dcc5c70d (from https://pypi.python.org/simple/requests/), version 0.8.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.2.tar.gz#md5=bdbbd7f45688e23e87eec52835959943 (from https://pypi.python.org/simple/requests/), version 0.8.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.3.tar.gz#md5=93e4cd27ab646fb613a926fede1cc4f5 (from https://pypi.python.org/simple/requests/), version 0.8.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.4.tar.gz#md5=642e5c70250989e4feda9c50be57b100 (from https://pypi.python.org/simple/requests/), version 0.8.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.5.tar.gz#md5=5f2975ee9e57f4ea000e5a3f50fc85d1 (from https://pypi.python.org/simple/requests/), version 0.8.5 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.6.tar.gz#md5=21b03926ab38417a704ebce57972571a (from https://pypi.python.org/simple/requests/), version 0.8.6 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.7.tar.gz#md5=e4d4ee3a90396908bd04b50bf2136617 (from https://pypi.python.org/simple/requests/), version 0.8.7 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.8.tar.gz#md5=bfb182cfd3ed839b97744c553b87f502 (from https://pypi.python.org/simple/requests/), version 0.8.8 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.8.9.tar.gz#md5=ff5b3bf5bc3ad19930d3f3afe51f182b (from https://pypi.python.org/simple/requests/), version 0.8.9 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.9.0.tar.gz#md5=5f6f03ec76f68a7a3f35120ab5a6c589 (from https://pypi.python.org/simple/requests/), version 0.9.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.9.1.tar.gz#md5=8ed4667edb5d57945b74a9137adbb8bd (from https://pypi.python.org/simple/requests/), version 0.9.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.9.2.tar.gz#md5=65b36d99a4d2f78a22f08c95d2475e33 (from https://pypi.python.org/simple/requests/), version 0.9.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-0.9.3.tar.gz#md5=b13b6fbfa8fc3fc3c25bae300748053f (from https://pypi.python.org/simple/requests/), version 0.9.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.0.0.tar.gz#md5=099c9035c4b30a7ae5484b1beabc7407 (from https://pypi.python.org/simple/requests/), version 1.0.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.0.1.tar.gz#md5=2e938f26f2bdf2899862c751bfa7eff5 (from https://pypi.python.org/simple/requests/), version 1.0.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.0.2.tar.gz#md5=e5c1a5a5472cd61f144743dd25a2a29f (from https://pypi.python.org/simple/requests/), version 1.0.2 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.0.3.tar.gz#md5=a3169a33973d4b5b51843ead01c5e999 (from https://pypi.python.org/simple/requests/), version 1.0.3 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.0.4.tar.gz#md5=0b7448f9e1a077a7218720575003a1b6 (from https://pypi.python.org/simple/requests/), version 1.0.4 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.1.0.tar.gz#md5=a0158815af244c32041a3147ee09abf3 (from https://pypi.python.org/simple/requests/), version 1.1.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.2.0.tar.gz#md5=22af2682233770e5468a986f451c51c0 (from https://pypi.python.org/simple/requests/), version 1.2.0 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.2.1.tar.gz#md5=4d019670b94b17e329007d64e67e045e (from https://pypi.python.org/simple/requests/), version 1.2.1 doesn't match >=1.2.3
Ignoring link https://pypi.python.org/packages/source/r/requests/requests-1.2.2.tar.gz#md5=1f655ab7f2aa7447a1657ed69786f436 (from https://pypi.python.org/simple/requests/), version 1.2.2 doesn't match >=1.2.3
Using version 2.3.0 (newest of versions: 2.3.0, 2.3.0, 2.2.1, 2.2.1, 2.2.0, 2.2.0, 2.1.0, 2.1.0, 2.0.1, 2.0.1, 2.0.0, 2.0.0, 1.2.3)
Downloading from URL https://pypi.python.org/packages/2.7/r/requests/requests-2.3.0-py2.py3-none-any.whl#md5=f2d850fd48fc10a93aa03d69b87b96b4 (from https://pypi.python.org/simple/requests/)
Requirement already satisfied (use --upgrade to upgrade): Django>=1.5 in d:\python\lib\site-packages (from django-embed-video)
Downloading/unpacking importlib (from django-embed-video)
Getting page https://pypi.python.org/simple/importlib/
URLs to search for versions for importlib (from django-embed-video):
* https://pypi.python.org/simple/importlib/
Analyzing links from page https://pypi.python.org/simple/importlib/
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.1.tar.bz2#md5=d5e24bc4043247baf82323e00263778f (from https://pypi.python.org/simple/importlib/), version: 1.0.1
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.1.tar.gz#md5=1ea851d370b029ed1bfaeb224da210fb (from https://pypi.python.org/simple/importlib/), version: 1.0.1
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.1.zip#md5=24d49ca11ede0d89a684495206be4aab (from https://pypi.python.org/simple/importlib/), version: 1.0.1
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.2.tar.bz2#md5=58076727cc5d0eee3e91067fabda27eb (from https://pypi.python.org/simple/importlib/), version: 1.0.2
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.2.tar.gz#md5=4aa23397da8bd7c7426864e88e4db7e1 (from https://pypi.python.org/simple/importlib/), version: 1.0.2
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.2.zip#md5=d562ddb0b423f0d6a56658a80fb6c2d7 (from https://pypi.python.org/simple/importlib/), version: 1.0.2
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.3.tar.bz2#md5=5a732d8df8cf6c663d15564df335b247 (from https://pypi.python.org/simple/importlib/), version: 1.0.3
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.3.tar.gz#md5=3ddefaed1eea78525b9bd4ccf194881d (from https://pypi.python.org/simple/importlib/), version: 1.0.3
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.3.zip#md5=8a635997b2239c7160addfd2cb33c4d8 (from https://pypi.python.org/simple/importlib/), version: 1.0.3
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.tar.bz2#md5=96452a1e2127b74efa45242ce260aa67 (from https://pypi.python.org/simple/importlib/), version: 1.0
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.tar.gz#md5=05175efdfd244217325d05b490effcb6 (from https://pypi.python.org/simple/importlib/), version: 1.0
Found link https://pypi.python.org/packages/source/i/importlib/importlib-1.0.zip#md5=bcfef2aa95fed06a19a91c3fddf1c90a (from https://pypi.python.org/simple/importlib/), version: 1.0
Using version 1.0.3 (newest of versions: 1.0.3, 1.0.3, 1.0.3, 1.0.2, 1.0.2, 1.0.2, 1.0.1, 1.0.1, 1.0.1, 1.0, 1.0, 1.0)
Downloading importlib-1.0.3.tar.bz2
Downloading from URL https://pypi.python.org/packages/source/i/importlib/importlib-1.0.3.tar.bz2#md5=5a732d8df8cf6c663d15564df335b247 (from https://pypi.python.org/simple/importlib/)
Running setup.py (path:C:\Users\SONY\AppData\Local\Temp\pip_build_SONY\importlib\setup.py) egg_info for package importlib
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "D:\Python\lib\site-packages\setuptools\__init__.py", line 5, in <module>
import distutils.core
File "D:\Python\lib\distutils\core.py", line 16, in <module>
from distutils.dist import Distribution
File "D:\Python\lib\distutils\dist.py", line 17, in <module>
from distutils.util import check_environ, strtobool, rfc822_escape
File "D:\Python\lib\distutils\util.py", line 9, in <module>
import importlib.util
ImportError: No module named 'importlib.util'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "D:\Python\lib\site-packages\setuptools\__init__.py", line 5, in <module>
import distutils.core
File "D:\Python\lib\distutils\core.py", line 16, in <module>
from distutils.dist import Distribution
File "D:\Python\lib\distutils\dist.py", line 17, in <module>
from distutils.util import check_environ, strtobool, rfc822_escape
File "D:\Python\lib\distutils\util.py", line 9, in <module>
import importlib.util
ImportError: No module named 'importlib.util'
----------------------------------------
Cleaning up...
Removing temporary dir C:\Users\SONY\AppData\Local\Temp\pip_build_SONY...
Command python setup.py egg_info failed with error code 1 in C:\Users\SONY\AppData\Local\Temp\pip_build_SONY\importlib
Exception information:
Traceback (most recent call last):
File "D:\Python\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "D:\Python\lib\site-packages\pip\commands\install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "D:\Python\lib\site-packages\pip\req.py", line 1229, in prepare_files
req_to_install.run_egg_info()
File "D:\Python\lib\site-packages\pip\req.py", line 325, in run_egg_info
command_desc='python setup.py egg_info')
File "D:\Python\lib\site-packages\pip\util.py", line 697, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command python setup.py egg_info failed with error code 1 in C:\Users\SONY\AppData\Local\Temp\pip_build_SONY\importlib
How do I fix this error?
Thanks
Hello, I am making my website using django-embed-video.
Since I'm thinking about starting with a configuration that is as simple as possible, I made a website only index.html, then I installed django-embed-video.
Then I added following code base on the tutorial, however, it doesn't display youtube video and display following error message.
My environment is as follows.
django 2.0
django-embed-video 1.1.2
error message
Backend wasn't recognised (``)
Traceback (most recent call last):
File "F:\django_project\virtualenv2\lib\site-packages\embed_video\templatetags\embed_video_tags.py", line 111, in render
return self.embed(url, size, context=context, **options)
File "F:\django_project\virtualenv2\lib\site-packages\embed_video\templatetags\embed_video_tags.py", line 185, in embed
backend = cls.get_backend(url, context=context, **options)
File "F:\django_project\virtualenv2\lib\site-packages\embed_video\templatetags\embed_video_tags.py", line 164, in get_backend
else detect_backend(str(backend_or_url))
File "F:\django_project\virtualenv2\lib\site-packages\embed_video\backends.py", line 62, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
stteings.py
INSTALLED_APPS = [
'embed_video',
]
Since django default added 'django.template.context_processors.request' by default in 'context_processors' of TEMPLATES, so I didn't add anything in settings.py except above code.
models.py
class Item(models.Model):
name = models.CharField('Video name', max_length=100, null=True)
video = models.URLField() # same like models.URLField()
view.py
from django.shortcuts import render
def index(request):
return render(request, 'app/index.html')
admin.py
from django.contrib import admin
from embed_video.admin import AdminVideoMixin
from .models import Item
class MyModelAdmin(AdminVideoMixin, admin.ModelAdmin):
pass
admin.site.register(Item, MyModelAdmin)
index.html
{% extends "app/base.html" %}
{% load embed_video_tags %}
{% block content %}
{% video item.video 'small' %}
{% endblock %}
Custom backends have not made anything.
What is the cause this problem?
The plugin fails to display YouTube video on https, when reverse proxied.
Detail – My django app is deployed behind a nginx proxy. Nginx terminates the incoming https connection, and passes on the connection internally unsecured. So request.scheme
always reports http
even though it is for all intents and purposes https
.
Investigation – In def get_backend(backend_or_url, context=None, **options)
, the line backend.is_secure = context['request'].is_secure()
sets is_secure false in this circumstance. Setting is_secure=True
in the app's template as per the documentation does not override this (should it be passed in through options
, if so it is not being passed through in my case).
And – thanks to all who've worked on django-embed-video
!
Hi,
Reading docs I understand that is_secure=True/False depends on the request that renders the template..
When I want to offer a Video Player TwitterCard (from my http site) of a youtube video I need the HTTPS embed url (https://www.youtube.com/embed/video-code), the same with SoundCloud and others.. but when my templates renders {{ my_video.url }} it gives me the unsecured embed url.
Could I force the protocol variable to be https or something like that?
I think I could use a backend detection and use 'https://www.youtube.com/embed/{{my_video.code}}' but I wouldn't like to hardcode that on my templates.
Thank you,
I got the following error when loading a page with embed-video code but found the solution so I´ll post the traceback and my template code.
I´m using Swiper (https://github.com/nolimits4web/Swiper/) as a carousel with links on each slide to Vimeo videos and html5lightbox (http://html5box.com/html5lightbox/) to display the the embeded video.
I needed to include the html5lightbox.js file at the very end of my javascript includes to get rid of the error.
{% load embed_video_tags %}
<div class="testimonial">
<div class="avatar-testimonial">
<img src="{{MEDIA_URL}}{{testimonial.avatar.image.name}}">
</div>
<p class="client">{{ testimonial.title }}</p>
<p class="info">{{ testimonial.work_title }}</p>
<hr class="short" />
<p class="quote">{{ testimonial.body|safe|truncatewords:10 }}</p>
{% video testimonial.video as testimonial_video%}
<a href="{{testimonial_video.url}}" class="html5lightbox btn btn-watch" role="button"><span class="fa fa-play"></span> WATCH VIDEO</a>
{% endvideo %}
</div>
Backend wasn't recognised (``)
Traceback (most recent call last):
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 115, in render
return self.__render_block(url, context, resolved_query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 134, in __render_block
context[as_var] = self.get_backend(url, context=context, query=query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 150, in get_backend
else detect_backend(str(backend_or_url))
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/backends.py", line 59, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
Backend wasn't recognised (``)
Traceback (most recent call last):
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 115, in render
return self.__render_block(url, context, resolved_query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 134, in __render_block
context[as_var] = self.get_backend(url, context=context, query=query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 150, in get_backend
else detect_backend(str(backend_or_url))
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/backends.py", line 59, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
Backend wasn't recognised (``)
Traceback (most recent call last):
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 115, in render
return self.__render_block(url, context, resolved_query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 134, in __render_block
context[as_var] = self.get_backend(url, context=context, query=query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 150, in get_backend
else detect_backend(str(backend_or_url))
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/backends.py", line 59, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
[12/Feb/2015 12:25:53] "GET /testimonials/ HTTP/1.1" 200 10943
[12/Feb/2015 12:25:53] "GET /static/promo/css/style.css HTTP/1.1" 304 0
Backend wasn't recognised (``)
Traceback (most recent call last):
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 115, in render
return self.__render_block(url, context, resolved_query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 134, in __render_block
context[as_var] = self.get_backend(url, context=context, query=query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 150, in get_backend
else detect_backend(str(backend_or_url))
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/backends.py", line 59, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
Backend wasn't recognised (``)
Traceback (most recent call last):
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 115, in render
return self.__render_block(url, context, resolved_query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 134, in __render_block
context[as_var] = self.get_backend(url, context=context, query=query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 150, in get_backend
else detect_backend(str(backend_or_url))
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/backends.py", line 59, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
Backend wasn't recognised (``)
Traceback (most recent call last):
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 115, in render
return self.__render_block(url, context, resolved_query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 134, in __render_block
context[as_var] = self.get_backend(url, context=context, query=query)
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/templatetags/embed_video_tags.py", line 150, in get_backend
else detect_backend(str(backend_or_url))
File "/Users/nonni/venv/p3-d17/lib/python3.4/site-packages/embed_video/backends.py", line 59, in detect_backend
raise UnknownBackendException
embed_video.backends.UnknownBackendException
Hello , thanks for making this app.
Is there a way to combine url form I created and video url form together?
I have
url = models.URLField(max_length=250, blank=True, null=True)
video = EmbedVideoField(verbose_name='My video',blank=True, null=True)
I want them to be combined, is this possible?
I don't have time anymore to work on django-embed-video. The package is pretty stable and requires just occasional updates. Anyway, there are still some problems to be solved (see issues).
My appeals to new maintainer:
If you would like to become a maintainer, I give you all the necessary permissions (github repo, pipy, read the docs etc.)
The documentation has the following as an example of embedding:
{# you can just embed #}
{% video item.video 'small' %}
{# or use variables (with embedding, too) #}
{% video item.video as my_video %}
URL: {{ my_video.url }}
Thumbnail: {{ my_video.thumbnail }}
Backend: {{ my_video.backend }}
{% video my_video 'small' %}
{% endvideo %}
There's also an example of how to use custom sizes:
{% video my_video '800x600' %}
After digging through the code to try to determine why I was getting an error with this code, I got the code working by doing {{ item.video.url|embed:"296x195" }}
. I'm not 100% sure what the best practice way of using the library is, so I won't make suggestions as to how the documentation should read, but it certainly seems as though the example code is wrong.
The youtube & vimeo players support a number of options and these arent currently handled very well.
Generic support to specify these options would be great.
Just a very rough idea of the sort of thing Im trying to describe:
{% video user_video as my_video %}
{% html5=True %}
{% hd=True %}
{% size='small' %}
{{ my_video }}
{% endvideo %}
And have it render the youtube widget into the page set to use html5 and default to the hd version of the video, and size the iframe to small.
Does that make sense? (I'm sure the syntax i suggested is likely impossible, but it was more for illustration purposes)
Yes men, whats about your project?
Is better than django cms plugin?
Please, don't leave dead this project.
Hi. I'm trying to write Youku (Chinese video service) backend. An API key is needed in order to use open api requests... should I get one for all the entire project or draw it as a settings parameter?
When using ListView.as_view
{% video item.video 'small' %}
I get: expected string or buffer in embed_video/backends.py in is_valid, line 144
It only works if I get the string value first, for example:
{% video item.video|default_if_none:"" 'small' %}
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
)
This was depreciated in Django 1.8. It is saying that Template Dictionaries take precedent. Do you have a work around to place the needed code within the Templates -> options -> context_processors in the settings post 1.8?
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
'templates',
],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.template.context_processors.media',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
I'm not sure about this, but maybe Soundcloud has done some changes on its API, but embeds are not working now in my project, could you please check this? Got this when testing:
ERROR: test_code (embed_video.tests.tests_backend.SoundCloudBackendTestCase)
FAIL: test_get_thumbnail_url (embed_video.tests.tests_backend.VimeoBackendTestCase)
Thanks in advance.
Krzysztof Szularz (@szuliq) wrote:
django-embed-video is failing in python 2.6 due to importlib missing there.
Do you mind adding 2.6 to travis build?
I don't understand how works AdminVideoMixin, i put this mixin in my model admin, but, i can't see the video, only the URL, but not the video!
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I'm getting this exception if a Soundcloud resource does not exists, I think they do not give us an 'empty or wrong configured element' as youtube does, with an empty player and a generic 'missing' thumbnail, so all the thumbnail boxes (as the standard DjangoEmbedField widget) explode.
this is my code
from django.db import models
from django.contrib.auth.models import User
from django.forms import ModelForm
from SinUser.models import Sin_User
from embed_video.fields import EmbedVideoField
class Campaigns(models.Model):
name = models.CharField(max_length=30)
slug = models.SlugField(unique=True,blank=True)
position = models.IntegerField(null=True,blank=True)
CurrencyField = models.CharField(max_length=10,null=True,blank=True)
goal = models.IntegerField(null=True,blank=True)
start = models.DateTimeField(null=True,blank=True)
end = models.DateTimeField(null=True,blank=True)
organization= models.TextField(null=True,blank=True)
catagory=models.TextField(null=True,blank=True)
location= models.TextField(null=True,blank=True)
description = models.TextField(null=True,blank=True)
campaign_pic =models.ImageField(upload_to='static/img/campaign_img',null=True,blank=True)
donationonly= models.BooleanField(default=0,blank=True)
url = models.EmbedVideoField(null=True,blank=True)
user=models.ForeignKey(Sin_User,null=True,blank=True,related_name="foruser")
backer=models.ManyToManyField(Sin_User,null=True,blank=True,related_name="forbacker")
backeramount=models.IntegerField(null=True,blank=True)
durations = models.IntegerField(null=True,blank=True)
submitdate= models.DateTimeField(null=True,blank=True)
def __unicode__(self):
return self.name
class reward(models.Model):
rewardname = models.CharField(max_length=30)
slug = models.SlugField(unique=True)
limit = models.IntegerField('#')
campagin =models.ForeignKey(Campaigns)
def __unicode__(self):
return self.campagin+self.rewardname
i'm alrady pip install django-embed-video
i have embed _video in install app
i have 'django.core.context_processors.request', in template context
how ever when i makemigrations or syncdb
it error AttributeError: 'module' object has no attribute 'EmbedVideoField'
ps i use django 1.7
It seems in the admin the form still tries to embed an HTTP video even if HTTPS is enabled and the request to page is done via HTTPS. Seems all video backends are doing this. Inspecting values in the backend.protocol()
showed allow_https=True
and is_secure=False
which gets used when generating the url.
When I intercepted the actual request, django's request.is_secure()
returns True. Seems this should be overriding the default 'False' value somehow.
The request context processor is present as well.
python 2.7.13
django 1.11.4
django-embed-video==1.1.2
My template code:
`{% load embed_video_tags %}
{{ error_message }}
{% endif %}{% video item.video as my_video %}
URL: {{ this_job.video_url }}
{% video my_video "medium" %}
{% endvideo %}`
The video_url is a youtube video emebed url.
No video is shown on the page,
what am i missing?
django 1.6.10, embed_video, VERSION = (0, 10, 'stable')
video = EmbedVideoField(_('video url'), blank=True,null=True)
When I save the page empty field from admin, below is returned, what could cause this? But if I put youtube url, then it is saved okay and all in good shape.
'NoneType' object has no attribute 'strip'
I was using django-embed-video with SoundCloud and it isn't working anymore.
The SoundCloud url example: https://soundcloud.com/the-bugle/the-bugle-summer-break-1
Template:
{% for music in disc.musics %}
{% video music.url as my_music %}
{% video my_music "small" %}
{% endvideo %}
{% endfor %}
Hello, we have this warning:
/home/tulipan/Proyectos/TiempoTurco/lib/python3.4/site-packages/embed_video/backends.py:126: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
self._query = SortedDict(self.get_default_query())
How to validate if youtube video url format is correct before saving? Wrong url format saved returns error both in the browser and admin page.
dude what do you think about it?
i have implement it on: zodman@a1dc7d9
This project has gone over a number of releases today, breaking our builds. Version 1.1.0
was pulled from PyPI and version 1.1.1
and then 1.1.1
was pulled from PyPI as well and replaced with 1.1.0a0
and 1.1.1a0
.
This breaks our builds and it is pretty annoying to go over and iterate the packages because there is no sano version in PyPI; why do you remove dependencies after adding them?
Should be 'embedding'.
It looks like regular urls don't have a fallback to a <video>
element that plays back the content. Would adding a native HTML video/audio backend (as a default for urls that end with .mp3, .mp4 etc) make sense (and be welcome or considered a plugin)?
If there a way to gracefully catch errors if a user enters a video link that is marked "private"?
Example: Client user uploads a video to Vimeo and accidentally leaves that video "Private", then enters the video url in the application. The template attempts to retrieve the thumbnail (as illustrated in the docs) and throws an internal server error.
I've replaced all my calls for thumbnails with a fault-tolerant method, but it might be a good idea to handle this out of the box. For anyone else in my situation, this works for me...
@property
def thumbnail_url(self):
"""Attempt getting the thumbnail url. If this doesn't work, return a "problem" graphic"""
try:
video = detect_backend(self.link)
return video.thumbnail
except VideoDoesntExistException:
return "/static/images/video-problem.png"
I'm not sure if I'm doing something wrong but embed_code.html is not installed when installing last version from git.
By default, embed-video loads thumbnails from YouTube based on the following format: '{protocol}://img.youtube.com/vi/{code}/hqdefault.jpg'
.
It would be very good if I could load a higher-res thumbnail. The following string format could be used: '{protocol}://img.youtube.com/vi/{code}/maxresdefault.jpg'
.
Hi!
We are trying to get youtube captions work with django-embed-video approach.
Now django-embed-video extracts 'code' but ignores all the params stuff...
I think a smart idea would be to store them in a dict so them could be used later, maybe with some settings like 'ALLOW_YOUTUBE_CAPTIONS_PARAMETERS = TRUE', have you ever thought about something like that?
Thanks
running pip install django-embed-video==1.1.0
returns:
Could not find a version that satisfies the requirement django-embed-video==1.1.0 (from
versions: 0.0.1, 0.1.0, 0.2.0, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 1.0.0,
1.1.2) No matching distribution found for django-embed-video==1.1.0
Was the removal of those releases intentional? If so, should we consider upgrading from 1.1.0? If not, why were they removed?
Hi,
I think it would be useful to provide something like my_video.type
in template tag. It would containt youtube
, vimeo
etc. Because I need to do something like this:
{% video item.video as my_video %}
<iframe width="500" height="281"
frameborder="0" allowfullscreen
webkitAllowFullScreen mozallowfullscreen allowFullScreen
{% if my_video.type == "youtube" %}
src="{{ my_video.url }}?rel=0"
{% elif my_video.type == "vimeo" %}
src="{{ my_video.url }}?byline=0&portrait=0&color=ff0179&autoplay=1"
{% endif %}
></iframe>
{% endvideo %}
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.