Giter Club home page Giter Club logo

openload_dl's Issues

TypeError: urlopen() got multiple values for keyword argument 'body'

Using Ubuntu 14.04 32 Bit
Latest Firefox & https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux32.tar.gz

Error is

Traceback (most recent call last):
File "/usr/local/bin/openload-dl", line 95, in
browser=webdriver.Firefox(firefox_options=fox_opt)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute
response = self.command_executor.execute(driver_command, params)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute
return self._request(command_info[0], url, body=data)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request
resp = self._conn.request(method, url, body=body, headers=headers)
File "/usr/lib/python3/dist-packages/urllib3/request.py", line 79, in request
**urlopen_kw)
File "/usr/lib/python3/dist-packages/urllib3/request.py", line 142, in request_encode_body
**urlopen_kw)
TypeError: urlopen() got multiple values for keyword argument 'body'

Commit 6714ac6 broke Windows compatibility

Commit 6714ac6 broke windows compatibility.
If the user gives a folder as third argument the script should check what's the environment and then eventually add a '\' if we are on Windows and a '/' if we are on Unix.

Example output:

C:\Users\gius\Desktop\openload-dl-master>python openload-dl "https://oload.fun/f/5HHWrGijP7U/Naruto_001.mp4" C:\User\gius\Desktop
Extracting download link for C:\User\gius\Desktop/Naruto 001.mp4
Download of C:\User\gius\Desktop/Naruto 001.mp4 in progress...
Traceback (most recent call last):
  File "openload-dl", line 74, in <module>
    with open(filename,'wb') as fp:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\User\\gius\\Desktop/Naruto 001.mp4'

Download doesn't starts

Hello I tried your script but I have a problem, your script grab very well link to download,
but download doesnt starts. File is created but 0 bytes.

I tried to download link generated to your script (downloadurl) using wget and works fine. Some idea to fix it ?

Error on Ubuntu 14.04

Traceback (most recent call last):
File "./openload-dl", line 97, in
browser=webdriver.Firefox(firefox_options=fox_opt)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Some findings

Hi.
you say that you script is inspired to youtube-dl,but i found that youtube-dl already supports openload.

Just say what i found.Your script is also great. :)

Solved - Problem No such file or directory: 'chromedriver'

I get this error, but chromedriver unzipped is in the same folder of your script. Have I to move your folder script and chromedriver in some specific path to fix ?

FileNotFoundError: [Errno 2] No such file or directory: 'chromedriver'

Solved: I moved chromedriver to /usr/sbin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.