Compare commits

..

11 Commits

Author SHA1 Message Date
dgtlmoon
459f42aa69 Merge branch 'master' into optional-proxy-via-ui 2022-12-19 20:48:22 +01:00
dgtlmoon
b988c62b75 oops 2022-12-19 20:39:44 +01:00
dgtlmoon
3a596b2ae6 tiny test improvement 2022-12-19 20:22:29 +01:00
dgtlmoon
f2849b14ba Add validation 2022-12-19 20:15:15 +01:00
dgtlmoon
a06b3da00c Handle proxy auth 2022-12-19 20:02:28 +01:00
dgtlmoon
35ac213a7d Adding auth check 2022-12-19 19:40:16 +01:00
dgtlmoon
46dac6366c better testing 2022-12-19 19:19:23 +01:00
dgtlmoon
d6f93c080d fixes 2022-12-19 19:06:35 +01:00
dgtlmoon
7e31ba8ea7 Merge branch 'master' into optional-proxy-via-ui 2022-12-19 18:14:03 +01:00
dgtlmoon
5bd7865b02 Merge branch 'master' into optional-proxy-via-ui 2022-12-16 21:14:49 +01:00
dgtlmoon
2cb4beeda0 WIP 2022-12-15 10:36:48 +01:00
3 changed files with 8 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
# pip dependencies install stage
FROM python:3.11-slim as builder
FROM python:3.10-slim as builder
# See `cryptography` pin comment in requirements.txt
ARG CRYPTOGRAPHY_DONT_BUILD_RUST=1
@@ -29,7 +29,7 @@ RUN pip install --target=/dependencies playwright~=1.27.1 \
|| echo "WARN: Failed to install Playwright. The application can still run, but the Playwright option will be disabled."
# Final image stage
FROM python:3.11-slim
FROM python:3.10-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
libssl1.1 \

View File

@@ -430,7 +430,7 @@ class SingleExtraProxy(Form):
# maybe better to set some <script>var..
proxy_name = StringField('Name', [validators.Optional()], render_kw={"placeholder": "Name"})
proxy_url = StringField('Proxy URL', [validators.Optional()], render_kw={"placeholder": "http://user:pass@...:3128", "size":50})
proxy_url = StringField('URL', [validators.Optional()], render_kw={"placeholder": "http://user:pass@...:3128"})
# @todo do the validation here instead
# datastore.data['settings']['requests']..

View File

@@ -173,19 +173,17 @@ nav
</div>
<div class="tab-pane-inner" id="proxies">
<p><strong>Tip</strong>: You can connect to websites using <a href="https://brightdata.grsm.io/n0r16zf7eivq">BrightData</a> proxies, their service <strong>WebUnlocker</strong> will solve most CAPTCHAs, whilst their <strong>Residential Proxies</strong> may help to avoid CAPTCHA altogether. </p>
<p>It may be easier to try <strong>WebUnlocker</strong> first, WebUnlocker also supports country selection.</p>
<p>
When you have <a href="https://brightdata.grsm.io/n0r16zf7eivq">registered</a>, enabled the required services, visit the <A href="https://brightdata.com/cp/api_example?">API example page</A>, then select <strong>Python</strong>, set the country you wish to use, then copy+paste the example URL below<br/>
The Proxy URL with BrightData should start with <code>http://brd-customer...</code>
<p><strong>Tip</strong>: You can connect <a href="https://brightdata.grsm.io/n0r16zf7eivq">BrightData <strong>WebUnlocker</strong></a> proxies to work around CAPTCHA.<br/>
Simply <a href="https://brightdata.grsm.io/n0r16zf7eivq">register</a> and paste in the Proxy URL below.<br/>
You can also add extra location/country proxies.</br>
</p>
<p>When you sign up using <a href="https://brightdata.grsm.io/n0r16zf7eivq">https://brightdata.grsm.io/n0r16zf7eivq</a> BrightData will match any first deposit up to $150</p>
<p>Please use our referrer link for BrightData <a href="https://brightdata.grsm.io/n0r16zf7eivq">https://brightdata.grsm.io/n0r16zf7eivq</a></p>
<div class="pure-control-group">
{{ render_field(form.requests.form.extra_proxies) }}
<div class="pure-form-message-inline">"Name" will be used for selecting the proxy in the Watch Edit settings</span>
</div>
</div>
<div id="actions">