The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
|
[HC Offical] SpiderPy - Regular Expression Crawler
filter_list
|
|
|
Thirteen Years of Service
Posts: 229
Threads: 3
RE: HC SpiderPy - Regular Expression Crawler 07-27-2014, 06:35 PM
#11
I downloaded the latest version 3.4, so you're probably right

If you patch it for 3.4 i'll test it out again, k?
•
Thirteen Years of Service
Posts: 38
Threads: 5
RE: HC SpiderPy - Regular Expression Crawler 07-28-2014, 08:00 PM
#12
Nice tool bro ....
Thanks for your effort ...
+rep for you
•
Twelve Years of Service
Posts: 506
Threads: 20
RE: HC SpiderPy - Regular Expression Crawler 07-29-2014, 07:56 PM
#13
(07-27-2014, 05:16 PM)chmod Wrote: (07-27-2014, 04:53 PM)Riverclawz Wrote: The error print-out:
C:\Python34>python source.py
File "source.py", line 5
print "\033[95m /\\ /\\/ __\\"
^
SyntaxError: invalid syntax
Also if i remove "\033[95m" the error seems to be resolved and the next syntax error is at the next print with something similar to "\033[95m". Are they color codes?
I think if you remove that bit properly (not like my attempt) it should work, cause he doesn't seem to have a problem with the other code.
It was written for python version 2.7, 3.4 changed a lot of syntax so the two versions are in fact incompatible you could modify it to run in 3.4 though
(07-27-2014, 06:35 PM)Riverclawz Wrote: I downloaded the latest version 3.4, so you're probably right 
If you patch it for 3.4 i'll test it out again, k?
Yup this was written for Python 2.7.6 I'll look into it and update the color codes. Thank you @
chmod for that note I didn't know that was an issue.
BTC Address: 1DCKgDaWcmc9dxBkhe9qrTQtrQpoFUzXdn
•
Thirteen Years of Service
Posts: 3,253
Threads: 64
RE: HC SpiderPy - Regular Expression Crawler 07-29-2014, 08:01 PM
#14
(07-29-2014, 07:56 PM)h3r0 Wrote: (07-27-2014, 05:16 PM)chmod Wrote: (07-27-2014, 04:53 PM)Riverclawz Wrote: The error print-out:
C:\Python34>python source.py
File "source.py", line 5
print "\033[95m /\\ /\\/ __\\"
^
SyntaxError: invalid syntax
Also if i remove "\033[95m" the error seems to be resolved and the next syntax error is at the next print with something similar to "\033[95m". Are they color codes?
I think if you remove that bit properly (not like my attempt) it should work, cause he doesn't seem to have a problem with the other code.
It was written for python version 2.7, 3.4 changed a lot of syntax so the two versions are in fact incompatible you could modify it to run in 3.4 though
(07-27-2014, 06:35 PM)Riverclawz Wrote: I downloaded the latest version 3.4, so you're probably right 
If you patch it for 3.4 i'll test it out again, k?
Yup this was written for Python 2.7.6 I'll look into it and update the color codes. Thank you @chmod for that note I didn't know that was an issue.
It's not an issue for me I have both versions installed by default :Grin:
•
Twelve Years of Service
Posts: 731
Threads: 114
RE: HC SpiderPy - Regular Expression Crawler 07-29-2014, 08:21 PM
#15
(07-29-2014, 08:01 PM)chmod Wrote: (07-29-2014, 07:56 PM)h3r0 Wrote: (07-27-2014, 05:16 PM)chmod Wrote: (07-27-2014, 04:53 PM)Riverclawz Wrote: The error print-out:
C:\Python34>python source.py
File "source.py", line 5
print "\033[95m /\\ /\\/ __\\"
^
SyntaxError: invalid syntax
Also if i remove "\033[95m" the error seems to be resolved and the next syntax error is at the next print with something similar to "\033[95m". Are they color codes?
I think if you remove that bit properly (not like my attempt) it should work, cause he doesn't seem to have a problem with the other code.
It was written for python version 2.7, 3.4 changed a lot of syntax so the two versions are in fact incompatible you could modify it to run in 3.4 though
(07-27-2014, 06:35 PM)Riverclawz Wrote: I downloaded the latest version 3.4, so you're probably right 
If you patch it for 3.4 i'll test it out again, k?
Yup this was written for Python 2.7.6 I'll look into it and update the color codes. Thank you @chmod for that note I didn't know that was an issue.
It's not an issue for me I have both versions installed by default :Grin:
Linux....... of course :troll:
•