dreammis / social-auto-upload Goto Github PK
View Code? Open in Web Editor NEW自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili
自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili
Please add for facebook fanspage
视频号上传视频失败,没有自动打开浏览器,报错信息如下:
python upload_video_to_tencent.py
[+] cookie 有效
视频文件名:/social-auto-upload/videos/demo.mp4
标题:这位勇敢的男子为了心爱之人每天坚守 🥺❤️🩹
Hashtag:['坚持不懈', '爱情执着', '奋斗使者', '短视频']
Traceback (most recent call last):
File "/social-auto-upload/upload_video_to_tencent.py", line 28, in <module>
asyncio.run(app.main(), debug=False)
File "/miniconda3/envs/auto-upload/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/miniconda3/envs/auto-upload/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/miniconda3/envs/auto-upload/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/playground/social-auto-upload/tencent_uploader/main.py", line 264, in main
await self.upload(playwright)
File "/playground/social-auto-upload/tencent_uploader/main.py", line 134, in upload
browser = await playwright.chromium.launch(headless=False, executable_path=self.local_executable_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/miniconda3/envs/auto-upload/lib/python3.11/site-packages/playwright/async_api/_generated.py", line 13882, in launch
await self._impl_obj.launch(
File "/miniconda3/envs/auto-upload/lib/python3.11/site-packages/playwright/_impl/_browser_type.py", line 94, in launch
Browser, from_channel(await self._channel.send("launch", params))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/miniconda3/envs/auto-upload/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 59, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/miniconda3/envs/auto-upload/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 513, in wrap_api_call
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.Error: BrowserType.launch: Failed to launch: Error: spawn . EACCES
Call log:
<launching> . --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --enable-use-zoom-for-dsf=false --no-sandbox --user-data-dir=/var/folders/l6/btvdrkq11x1346h4ql9354th0000gn/T/playwright_chromiumdev_profile-2BdW9G --remote-debugging-pipe --no-startup-window
- [pid=N/A] starting temporary directories cleanup
- [pid=N/A] finished temporary directories cleanup
加群二维码过期了,再发一个
希望支持上传文字 图片 视频到Telegram频道
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.