Questions tagged [pycurl]

PycURL is a Python interface to libcurl.

PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of features.

609 questions
3
votes
1 answer

download video with byte range python pycurl

hello guys i am trying to download video as two or more piece. so i have written program for that reason. it worked perfectly acurate like clock at bytes but there is problem when i download movie from start at middle point it works(playable) but…
3
votes
2 answers

How do I install pyCurl?

I tried everything! I cannot find a way to install pyCurl on my Windows 7 machine! I found these binaries link... BUT there are no binaries for 2.6. : ( Help would be great. : )
RadiantHex
  • 24,907
  • 47
  • 148
  • 244
3
votes
2 answers

Putting a pyCurl XML server response into a variable (Python)

I'm a Python novice, trying to use pyCurl. The project I am working on is creating a Python wrapper for the twitpic.com API (http://twitpic.com/api.do). For reference purposes, check out the code (http://pastebin.com/f4c498b6e) and the error I'm…
crashsystems
  • 175
  • 2
  • 8
  • 15
3
votes
1 answer

ImportError on importing pycurl

I'm getting a traceback whenever trying to import pycurl, any help on solving the issue would be greatly appreciated. Version of Python is 2.7 >>> import pycurl Traceback (most recent call last): File "", line 1, in ImportError:…
Mozirra
  • 31
  • 5
3
votes
1 answer

Using Pycurl in Pycharm

I'm trying to run a script that begins: from pycurl import * However, this throws the error: Traceback (most recent call last): File "/Users/adamg/PycharmProjects/untitled/UrlToText.py", line 1, in from pycurl import * ImportError:…
Adam_G
  • 7,337
  • 20
  • 86
  • 148
3
votes
2 answers

pycurl install :( already have min. libcurl version

I'm running python 2.6 on an Intel Mac OS X 10.5 I'm trying to install pycurl 7.16.2.1 (as recommended here http://curl.haxx.se/mail/curlpython-2009-03/0009.html), but for some reason, the installation sees my libcurl 7.16.3, yet it still insist I…
Jay
  • 594
  • 10
  • 23
3
votes
3 answers

Trouble with pycurl.POSTFIELDS

I'm familiar with CURL in PHP but am using it for the first time in Python with pycurl. I keep getting the error: Exception Type: error Exception Value: (2, '') I have no idea what this could mean. Here is my code: data = {'cmd':…
Matt McCormick
  • 13,041
  • 22
  • 75
  • 83
3
votes
1 answer

import pycurl ImportError: DLL load failed: The specified procedure could not be found

I've installed successfully "curl-7.33.0-win64.msi" and "pycurl-7.19.0.2.win-amd64-py2.7.exe" I got following Error when I run the python script import pycurl importError: DLL load failed: The specified procedure could not be found File…
Khokhar
  • 685
  • 1
  • 9
  • 22
3
votes
3 answers

upload file to django server using curl

On Django python server, I have customized a URL where users can upload files. Now, problem is that I am successfully able to upload files when I hit the browser but when I try same thing using curl, I am not able to do so. views.py import…
Udit Gupta
  • 3,162
  • 11
  • 43
  • 71
3
votes
1 answer

python-requests hook similar to pycurl.WRITEFUNCTION?

I've been utilizing PycURL for my project https://pypi.python.org/pypi/tidehunter which makes use of the pycurl.WRITEFUNCTION hook to consume incoming HTTP stream in a controllable way. Use cases can be found on the project page, or the technique…
woozyking
  • 4,880
  • 1
  • 23
  • 29
3
votes
6 answers

get many pages with pycurl?

I want to get many pages from a website, like curl "http://farmsubsidy.org/DE/browse?page=[0000-3603]" -o "de.#1" but get the pages' data in python, not disk files. Can someone please post pycurl code to do this, or fast urllib2 (not one-at-a-time)…
denis
  • 21,378
  • 10
  • 65
  • 88
3
votes
1 answer

pycurl, how to send POST data for Multiple Select Form?

I'm trying to do some webscraping, and it involves sending a form with a Multiple Select Box List that looks similar to this: