OkCupid-Message-Downloader | simple Python script for downloading your sent | User Interface library
kandi X-RAY | OkCupid-Message-Downloader Summary
kandi X-RAY | OkCupid-Message-Downloader Summary
A simple Python script for downloading your sent and received OkCupid messages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Fetch threads
- Fetch thread from WebSocket
- Queue threads
- Write the message to a directory
- Strips tags from HTML
- Fetch threads from the server
- Remove duplicate thread URLs
- Write all threads to file
- Reads a file from a URL
- Return a BeautifulSoup object
- Sets the user s password
- Set opener URL
- Set autologin URL
- Use index file
OkCupid-Message-Downloader Key Features
OkCupid-Message-Downloader Examples and Code Snippets
Community Discussions
Trending Discussions on OkCupid-Message-Downloader
QUESTION
I am sure that this is a dumb thing I am doing or not doing. I hardly ever use python so I forget.
I am using python 2.7 because that is what the package was written in.
- In a DOS command window I used the command
pip install okcmd
and it seemed to have worked, although I received the notice that pip is being deprecated. - I fired up idle. I got the python shell.
- I typed
import okcmd
. No error messages, so I assumed it worked. - I typed
okcmd
. I didn't include any arguments so I was expecting some sort of error. Idle responded with. I interpreted that as a good sign.
- I then typed
okcmd -u a1 -p a2 -f 'a.txt'
. I used my real username instead of a1 and real password instead of a2, but I get the same result if I use a1 and a2. I receivedSyntaxError: invalid syntax
.
Here is a link to the package description: https://github.com/lehrblogger/OkCupid-Message-Downloader
What do I need to do to get the thing to run instead of give me a syntax error? I assume it is me not invoking it correctly rather than the code because no line number was indicated for the invalid syntax. If it is the code I don't need help debugging it - I'll bail on the whole thing.
Thanks
...ANSWER
Answered 2020-Feb-28 at 00:51When installed, okcmd adds it's command to the installation Python's Scripts subdirectory. If that directory is in your path, you can just type okcmd -u a1 -p a2 -f a.txt
at the command windows prompt.
Otherwise, if Python is installed in C:\Program Files\Python27
, you can run:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install OkCupid-Message-Downloader
You can use OkCupid-Message-Downloader like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page