Compare commits
7 Commits
3682f73ae7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
291e696dc1 | ||
|
|
1d816c8f4e | ||
|
|
b6f1b7c8d7 | ||
|
|
74a81da54a | ||
|
|
0ed45123d2 | ||
|
|
8ca8ee03dd | ||
|
|
d400ad7faf |
@@ -5,8 +5,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
env:
|
||||
DESTINATION: C:\Facebook
|
||||
REPOSITORY_URL: http://deploy:123qwe123@123.58.209.87:3000/py_facebook/py_facebook.git
|
||||
DESTINATION: C:\Facebook2
|
||||
REPOSITORY_URL: http://deploy:123qwe123@123.58.209.87:3000/he/py_facebook.git
|
||||
|
||||
jobs:
|
||||
StopService:
|
||||
@@ -38,6 +38,10 @@ jobs:
|
||||
- windows-101.36.102.136
|
||||
- windows-101.36.104.175
|
||||
steps:
|
||||
- name: Debug - Check variables
|
||||
run: |
|
||||
Write-Host "Repository URL: ${{ env.REPOSITORY_URL }}"
|
||||
Write-Host "Destination: ${{ env.DESTINATION }}"
|
||||
- name: 更新或clone项目
|
||||
shell: powershell
|
||||
run: |
|
||||
|
||||
@@ -1228,11 +1228,11 @@ def playwright_share(cookies, target_url, content):
|
||||
|
||||
browser = playwright.chromium.launch(
|
||||
headless=False, args=['--start-maximized'], executable_path=path,
|
||||
proxy={
|
||||
"server": "http://pr.oxylabs.io:7777", # 必填
|
||||
"username": f"customer-{username}-cc-{country}",
|
||||
"password": password
|
||||
}
|
||||
# proxy={
|
||||
# "server": "http://pr.oxylabs.io:7777", # 必填
|
||||
# "username": f"customer-{username}-cc-{country}",
|
||||
# "password": password
|
||||
# }
|
||||
)
|
||||
|
||||
context = browser.new_context(no_viewport=True)
|
||||
|
||||
Reference in New Issue
Block a user