prntscrScraper
prntscrScraper copied to clipboard
SyntaxError: Missing parentheses in call to 'print'.
Every time I am trying to run the program it comes up with that File "code.py", line 34 print "[-] Invalid: " + picture + picture2 ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[-] Invalid: " + picture + picture2)?
Possibly you have python 3 on your OS, https://github.com/Danka32/Adopted-prntscrScrapper , i adopted scrapper for new python.
Possibly you have python 3 on your OS, https://github.com/Danka32/Adopted-prntscrScrapper , i adopted scrapper for new python.
скажи как запустить твой скрипт
You need to put all text after print in () print("[-] Invalid: " + picture + picture2) That's a code that you need. суббота, 29 декабря 2018г., 00:46 +01:00 от wolfdizz [email protected] :
print "[-] Invalid: " + picture + picture2 ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[-] Invalid: " + picture + picture2)? what problem? — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .
Если у тебя проблема с коммандой print то просто засунь весь код после print в скобки (). Как запустить, берешь полный путь к файлу включая диск и юзера пример: C:\Users\ТвойПрофиль\Desktop\ПапкаСоСкраппером Потом нажимаешь Win+R и пишешь cmd после пишешь комманду cd и путь к файлу, запускаешь и потом пишешь как на гит хабе python scrapper кол во фоток пятница, 28 декабря 2018г., 14:00 +01:00 от Ekali78 [email protected] :
Possibly you have python 3 on your OS, https://github.com/Danka32/Adopted-prntscrScrapper , i adopted scrapper for new python. скажи как запустить твой скрипт — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .
And if you need to know what is problem, old code was on python 2, and on python 3 command "print" writes with (), unlike in python 2 where writes without ().
Отправлено из Mail.Ru для Android суббота, 29 декабря 2018г., 00:55 +01:00 от Данила Келлер [email protected] :
You need to put all text after print in () print("[-] Invalid: " + picture + picture2) That's a code that you need. суббота, 29 декабря 2018г., 00:46 +01:00 от wolfdizz [email protected] :
print "[-] Invalid: " + picture + picture2 ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[-] Invalid: " + picture + picture2)? what problem? — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .
код скрапера написан абсолютно бездарно, пришлось отрефакторить все ибо вообще не понимаю как это может работать. форкну и залью что вышло. кстати есть ли смысл юзать img.prntscr.com или i.imgur.com норм?
Ну я изначально говорил что не профи в пайтоне, можно было и без агрессии выразить мнение. И со второго сайта качает фото новее, чем с imggur
Отправлено из Mail.Ru для Android суббота, 05 января 2019г., 17:19 +01:00 от Nazar Pechevistyj [email protected] :
код скрапера написан абсолютно бездарно, пришлось отрефакторить все ибо вообще не понимаю как это может работать. форкну и залью что вышло. кстати есть ли смысл юзать img.prntscr.com или i.imgur.com норм? — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .
@Danka32 вопросы не к тебе, а к создателю оригинального кода (поскольку ты ничего толком и не изменил :) ). за наводку спасибо
Тогда извините, произошло недопонимание. суббота, 05 января 2019г., 17:31 +01:00 от Nazar Pechevistyj [email protected] :
@Danka32 вопросы не к тебе, а к создателю оригинального кода (поскольку ты ничего толком и не изменил :) ). за наводку спасибо — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or mute the thread .
закинул свой вариант. он конечно немного другого предназначения но после исправления пары строк будет делать то же самое
I have updated the repository with the Python 3 version.
I have updated the repository with the Python 3 version.
you need to reupdate for 3.7) raw_input( ) to input( ) and remove the "thread: from the inputs (and debug, I just looked visually)
Если у тебя проблема с коммандой print то просто засунь весь код после print в скобки (). Как запустить, берешь полный путь к файлу включая диск и юзера пример: C:\Users\ТвойПрофиль\Desktop\ПапкаСоСкраппером Потом нажимаешь Win+R и пишешь cmd после пишешь комманду cd и путь к файлу, запускаешь и потом пишешь как на гит хабе python scrapper кол во фоток пятница, 28 декабря 2018г., 14:00 +01:00 от Ekali78 [email protected] : …
Possibly you have python 3 on your OS, https://github.com/Danka32/Adopted-prntscrScrapper , i adopted scrapper for new python. скажи как запустить твой скрипт — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or mute the thread .
при зажатой клавише "SHIFT" нажми на правый клик, в контекстном меню увидишь "открыть окно команд). А дальше знаешь
А если с termux То куда сохраняются фотки?
Я его не использовал, но так, фотки должны сохраняться в папке со скраппером. Иногда так же были проблемы у людей, что фотки слхраняются в системных фaйлах(папка system) Friday, 29 March 2019, 00:44AM +01:00 from Mrdesman [email protected] :
А если с termux То куда сохраняются фотки? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or mute the thread .
Я вот понял куда они сохраняются (в папку с скрапером) Но... а как зайти в эту папку? Просто смотреть картинки через termux-open --view не удобно
Also if you have Python3 you need install httplib2 and launch 'code-python3.py 15' like this pip3 install httplib2 --upgrade