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