Git Product home page Git Product logo

blog-views-bot's People

Contributors

umarfarook882 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog-views-bot's Issues

Triple quotes causing error?

tried editing but i am so new to python
EDITS:
1.added parentheses => inconsistent use of tabs and indentations
2.made tabs consistent => raw_input not defined
3.replaced with eval(input()) for python3, check: incompatible changes in python 3.1/later
4. stem.util.system.is_available(tor_cmd)
always returning true^ => stem.process cant be wrong
giving up..
forked by mistake. didnt even know what that is

Multiple Errors

Traceback (most recent call last):
File "blog-view.py", line 44, in
run()
File "blog-view.py", line 29, in run
response = tr.get(site, headers=headers,verify=False)
File "/usr/local/lib/python2.7/dist-packages/torrequest.py", line 68, in get
return self.session.get(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 313, in prepare
self.prepare_url(url, params)
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 381, in prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse:

OSError: Process terminated: Failed to bind one of the listener ports

File "blog-view.py", line 42, in
with TorRequest(proxy_port=proxyPort, ctrl_port=ctrlPort, password=None) as tr:
File "/usr/local/lib/python2.7/dist-packages/torrequest.py", line 21, in init
self._tor_proc = self._launch_tor()
File "/usr/local/lib/python2.7/dist-packages/torrequest.py", line 46, in _launch_tor
take_ownership=True)
File "/usr/local/lib/python2.7/dist-packages/stem/process.py", line 285, in launch_tor_with_config
return launch_tor(tor_cmd, ['-f', '-'], None, completion_percent, init_msg_handler, timeout, take_ownership, close_output, stdin = config_str)
File "/usr/local/lib/python2.7/dist-packages/stem/process.py", line 158, in launch_tor
raise OSError('Process terminated: %s' % last_problem)
OSError: Process terminated: Failed to bind one of the listener ports

torrequest not found after install

Hi,

i have installed python3-torrequest but the script cant import torrequest. Any idea?

Linux kali 5.9.0-kali1-amd64 #1 SMP Debian 5.9.1-1kali2 (2020-10-29) x86_64 GNU/Linux


──(kali㉿kali)-[~/devel/Blog-Views-Bot]
└─$ sudo apt-get install python3-torrequest                                                                                                                                                                    100 ⨯
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libxml-dom-perl libxml-perl libxml-regexp-perl
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  python3-torrequest
0 upgraded, 1 newly installed, 0 to remove and 1213 not upgraded.
Need to get 3,924 B of archives.
After this operation, 21.5 kB of additional disk space will be used.
Get:1 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 python3-torrequest all 0.1.0-2 [3,924 B]
Fetched 3,924 B in 0s (11.1 kB/s)              
Selecting previously unselected package python3-torrequest.
(Reading database ... 268145 files and directories currently installed.)
Preparing to unpack .../python3-torrequest_0.1.0-2_all.deb ...
Unpacking python3-torrequest (0.1.0-2) ...
Setting up python3-torrequest (0.1.0-2) ...
                                                                                                                                                                                                                     
┌──(kali㉿kali)-[~/devel/Blog-Views-Bot]
└─$ python blog-view.py                   
Traceback (most recent call last):
  File "blog-view.py", line 4, in <module>
    from torrequest import TorRequest
ImportError: No module named torrequest

Name Error

I have new error in the following script

Traceback (most recent call last):
File "blog-view.py", line 10, in
site = raw_input("Enter your Blog Address : ")
NameError: name 'raw_input' is not defined

Syntax Error

Hi, I hope youre nice, im sad because I cant run, see this error -->

File "blog-view.py", line 20
"""
^
SyntaxError: invalid syntax

'tor' isn't available on your system. Maybe it's not in your PATH?

Traceback (most recent call last):
  File "blog-view.py", line 34, in <module>
	with TorRequest() as tr:
  File "/usr/local/lib/python2.7/dist-packages/torrequest.py", line 21, in __init__
	self._tor_proc = self._launch_tor()
  File "/usr/local/lib/python2.7/dist-packages/torrequest.py", line 46, in _launch_tor
	take_ownership=True)
  File "/usr/local/lib/python2.7/dist-packages/stem/process.py", line 285, in launch_tor_with_config
	return launch_tor(tor_cmd, args, torrc_path, completion_percent, init_msg_handler, timeout, take_ownership)
  File "/usr/local/lib/python2.7/dist-packages/stem/process.py", line 98, in launch_tor
	raise OSError("'%s' isn't available on your system. Maybe it's not in your PATH?" % tor_cmd)
OSError: 'tor' isn't available on your system. Maybe it's not in your PATH?

How can solve this?

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.