84 questions
0
votes
0
answers
35
views
Laveral Twill "Edit" Button Rename to the "View"
I am using the "Laravel Twill" as a Backend, And we are struggling to rename the provided name. As example once the user is submitted form it goes to the backend.Then from the CMS Side I ...
0
votes
1
answer
422
views
Twill cms login error message cURL error 28: Connection timed out after 1011 milliseconds
Does anyone know the awnser to this problem.
Im working with the twill cms and when i press login i'm faced with this error message :
Error retrieving credentials from the instance profile metadata ...
0
votes
1
answer
1k
views
Twill CMS (Laravel) - Show repeater data in content editor
I've created a block for my "main content" and this block uses a repeater field to add multiple buttons.
It is rendering corrrectly on my frontend but the buttons aren't included in the ...
1
vote
0
answers
61
views
Why do I get "No connection adapters were found for 'value'" in Python Twill
I'm trying to automate a process for my classmates, with a python script that downloads from my university servers the marks that we get through the download of a PDF. Unfortunately, it turns out that ...
0
votes
0
answers
73
views
Problem with importing twill3 in Python 3.8
I'm trying to write a little web scraping script, and I'm trying to use twill3, but it keeps giving me the error
File "mypath\twill3\other_packages\subprocess.py", line 392
False = 0
SyntaxError: ...
2
votes
1
answer
2k
views
Twill CMS (Laravel): How to set up Repeater blocks? Repeaters display at wrong place
I wanted to use the repeater blocks of twill for my new project, set it up like in the documentation but it displays outside the section area just right beneath it in the body. Can´t edit it in the ...
4
votes
1
answer
2k
views
Using Twill to grab .txt from login page Python
I'm using Twill to retrieve pages that contain wanted .txt data on them so I can store them as an Excel file. The data is password protected so I'm logging in from the /user/login page.
My code runs ...
3
votes
1
answer
688
views
Debug Twill Exception Error
I have been failing to go to a URL usign twill and I couldn't find a way to debug the issue further. I have enabled debug levels in twill for "http","equiv-refresh" and "commands", still twill is not ...
0
votes
1
answer
222
views
Get mechanize and twill talking
I am writing a script for my employer to get certain data from their own site. For a long list of reasons, I need to get the data off the site as it is shown. I have discovered, some of that data ...
1
vote
0
answers
120
views
Twill and Self-Signed Certificates
I've been using Twill under Python for a long time now, and somehow, I never managed to run into this before.
If you point Twill at a page using a Self-Signed certificate, it errors out, like this:
...
3
votes
2
answers
1k
views
Python twill: download file accessible through PHP script
I use twill to navigate on a website protected by a login form.
from twill.commands import *
go('http://www.example.com/login/index.php')
fv("login_form", "identifiant", "login")
fv("login_form", "...
0
votes
1
answer
2k
views
Twill submit function not working with form
I am trying to write a crawler with twill for a page, and it requires me to login. I can fill in the form. But the submit() function of twill does not seem to "click" the button.
Form name=...
0
votes
0
answers
442
views
Python Tumblr Uploader Bot (with twill)
So I making a Tumblr bot in python with twill (yea I know I could use API, but i want to use multiple accounts (50+) and I don't want to create an API for every account))
And how can I make the ...
1
vote
2
answers
4k
views
Python requests module : Post and go to next page
I'm filling a form on a web page using python's request module. I'm submitting the form as a POST request, which works fine. I get the expected response from the POST. However, it's a multistep form; ...
1
vote
0
answers
316
views
Why doesn't twill show a form?
I am trying to access a website using twill: https://cuentas.itesm.mx/IDMProv/portal/cn/GuestContainerPage/ITESMPageForgotPassword
On the website code there is this field that I need to fill personID,...
0
votes
1
answer
903
views
python 2.7 using twill submit error
My python code to submit a value to Google:
from twill.commands import *
go('www.google.com')
showforms()
formclear('1')
fv("1", "q", "python")
showforms()
submit('btnG')
When it is run it shows the ...
1
vote
1
answer
2k
views
Twill doesn't show forms
I'm trying to login in https://accounts.coursera.org/ using twill for python
I tried this sheet of code
import twill
b = get_browser()
b.go("https://accounts.coursera.org/")
b.showforms()
...
1
vote
1
answer
2k
views
Logging into a website and retrieving HTML with Python
I need to log into a website to access its html on a login-protected page for a project I'm doing.
I'm using this person's answer with the values I need:
from twill.commands import *
go('https://...
0
votes
1
answer
86
views
not runing Twill in openshift ( AttributeError: 'ResultWrapper' object has no attribute 'page')
I have some codes n openshfift which is working with twill module of python program, so i installed twill but i can,t run a simple twill comand via ssh mode the code is :
import twill, os
#os.environ[...
3
votes
0
answers
2k
views
Recording Foscam IP camera video using Python (Now Trying to fill in password at IP address using twill)
I am currently trying to record video from a Foscam 8910W IP Camera using Python.
I started by consulting with threads like these:
How to parse mjpeg http stream from ip camera?
and I got through ...
1
vote
0
answers
2k
views
Mechanize does not follow redirect after website login
I've been having a lot of trouble getting what should be a fairly simple login script to work on a particular website. My code does work on another website (Reddit), but it doesn't work on:
https://...
10
votes
4
answers
5k
views
Is there a new/updated Twill?
I've been trying to learn Twill Scripting on Python and I am using Python 3.4 and Twill 1.8.0. Been reading some posts here and I found it interesting to study. But, I do have a problem installing ...
1
vote
1
answer
762
views
AttributeError: type object 'HTTPConnectionPool' has no attribute 'ConnectionCls'
When running nosetests, using Flask-test I keep getting this error:
File "/app/env/local/lib/python2.7/site-packages/twill/browser.py", line 33, in __init__
cpl.HTTPConnectionPool.old_http = cpl....
7
votes
2
answers
18k
views
Sending a POST with mechanize and requests.
I am trying to send a POST using mechanize however my code won't work sometimes(and I know why). I have used mechanize, twill and requests. With mechanize and twills it is working and with requests ...
4
votes
1
answer
2k
views
How to click a button by twill?
I want to go to a site and click on a button or link for logging in. But login does not use form.
I think login procedure use javascript.
Input for username:
<input tabindex="1"
class="...