Questions tagged [web-scripting]
97 questions
15
votes
3 answers
5
votes
1 answer
HTTP Request from WebScript in Alfresco
I'm writing a WebScript in Alfresco using JS controller and I want to make a HTTP request to the local HTTP resource. This resource is a Java-based app and gives me its own REST API.
My WebScript is not a Share Component: so I don't have a remote…

Alexey
- 301
- 5
- 18
4
votes
9 answers
scraping website with login page
I currently login to the time from website using the following script.
browser = webdriver.Chrome('E:/Shared…

emma perkins
- 749
- 1
- 10
- 28
2
votes
1 answer
How to run a script after a pull-request on GitHub?
Good morning, everyone,
I want to create a script which automatically update an issue on RedMine when someone make a pull-request on our GitHub based on the pull-request comment.
I wrote a script in Python using selenium and redmine REST API that…

Max Teiger
- 145
- 1
- 14
2
votes
0 answers
How many request for scraping can handle ScrapyRT
I have a single project with the web interface where I should download from 3000 to 20000 urls per week (month). I use tickets system for showing a progress: what is downloaded, what is pending for downloading, which urls have timeout errors and…

amarynets
- 1,765
- 10
- 27
2
votes
1 answer
Add in 'if' clause using beautifulSoup
I'm using BeautifulSoup to scrape a company site job positions (I have permission). The below code is able to run and the output is the url for the job posting, however I want to add in a criteria which has to be true before the url is…

Palle Broe
- 99
- 2
- 9
2
votes
1 answer
Alfresco webscript - 401 anuthorized
I have a problem with executing wbesciptr in alfresco. I don't know what is going on, but every time i run my webscript written in java I got 401 error code. I have simmilar webscript in javascript and it runs ok.…

Piotrowy
- 605
- 8
- 20
2
votes
1 answer
Difference between alfresco webscript and Java servlet
Recently I've discovered that document upload feature in Alfresco backed with a simple Java Servlet (UploadContentServlet.java). I don't understand why it is a servlet not a webscript. Since everwhere in Alfresco webscripts are used.
Another…

streetturtle
- 5,472
- 2
- 25
- 43
2
votes
1 answer
Google Chart APIs for plotting data in local machine
Preface:
I am a system programmer (who has just started his career as a S/W Engineer), so not very good @ web scripting languages, though I have just started learning them.
Problem Synopsis:
I want to write an app that keeps track of what I am…

Microkernel
- 1,347
- 4
- 17
- 38
2
votes
1 answer
WebScriptObject pass NSDictionary (associative array / object)
I'm using the a WebScriptObject to call JavaScript methods in a WebView in Objective-C (OS X). I want to send and receive object like arrays and dictionaries.
I can receive them like this:
// JWJSBridge
+…

Julian F. Weinert
- 7,474
- 7
- 59
- 107
2
votes
0 answers
WebScriptObject from NSObject
I'm using WebScripting resp. WebScriptObject to have communicate from my WebApp to an ObjC interface and vice-versa.
I can also call methods on JS objects. This works great. Any returned object is converted to ObjC types like NSArray or…

Julian F. Weinert
- 7,474
- 7
- 59
- 107
2
votes
1 answer
Alfresco Upload Webscript
I want to use the backend webScript /alfresco/service/api/upload to upload a file. But the problem is that I have no Idea what the JSON that I have to send on POST should looks like. However I know what are the parameters :
- filedata, (mandatory)…

deltascience
- 3,321
- 5
- 42
- 71
2
votes
1 answer
Lucene search to find either of 2 particular content model types within a folder
I am trying to write a lucene search in an Alfresco webscript (javascript) to find 1 of 2 custom types within a custom type cm:folder
So the folder might have the following contents
1. Some text (cm:content)
2. More text (custom:content)
3. Even…

Chris
- 2,478
- 3
- 23
- 38
1
vote
1 answer
How to extract html input value by id with Selenium in Python
How can I extract the value 4 using elementId maxId in Python.
Python: 3.11.1, ChromeDriver: 109.0.5414.74

Jefflee0915
- 73
- 8
1
vote
1 answer
Element is found but not clickable
I'm trying to find an element by it's id, click on it and download a file.
driver.get(url);
driver.implicitly_wait(60);
time.sleep(3)
element = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.ID, "ContentPlaceHolder1_a1")))
href =…

Amit Kumar Gupta
- 7,193
- 12
- 64
- 90