umarfarook882 / blog-views-bot Goto Github PK
View Code? Open in Web Editor NEWTo increase blog user view traffic on website.
Home Page: https://fosecurity.blogspot.in/
To increase blog user view traffic on website.
Home Page: https://fosecurity.blogspot.in/
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
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:
I check google analytics.. its not show anything
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
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
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
Hi, I hope youre nice, im sad because I cant run, see this error -->
File "blog-view.py", line 20
"""
^
SyntaxError: invalid syntax
How can I specify IP by country of pageview ?
Thanks !
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?
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.