今天浩道跟大家分享如何在Linux 系统上刷抖音,这是一种什么体验的?一起来看看!
文章来源:https://blog.csdn.net/weixin_42350212/article/details/124368382
看看我们如何在Linux端,
完成搜索、截图、访问网页等等功能
一、首先增加一下新yum
vim/etc/yum.repo.d/google-chrome111.repo
二、调整内容
[yum源名称] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl.google.com/linux/linux_signing_key.pub

三、yum安装goglechrome
#安装
[root@harxxx~]#yum-yinstallgoogle-chrome-stable--nogpgcheck

四、我们来看看是啥版本
#查看-版本-信息
[root@har~]#google-chrome-version
GoogleChrome91.0.4472.106
[root@har~]#
五、shell脚本玩转浏览器
1、shell使用浏览器
#直接输入百度及搜索内容
#截屏百度
[root@harbor tmp]# google-chrome --no-sandbox --headless --disable-gpu
--screenshot https://www.baidu.com/
[0615/170830.274431headless_browser_main_parts.cc(106)] Cannot create Pref Service with no user data dir. [0615/170830.329462gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader [0615/170831.542038headless_shell.cc(648)] Written to file screenshot.png.
2、查询搜索结果
#截屏百度 [root@harbor tmp]# google-chrome --no-sandbox --headless --disable-gpu
--screenshot https://www.baidu.com/
[0615/170830.274431headless_browser_main_parts.cc(106)] Cannot create Pref Service with no user data dir. [0615/170830.329462gpu_init.cc(440)] Passthrough is not supported, GL is swiftshader [0615/170831.542038headless_shell.cc(648)] Written to file screenshot.png.
效果如下 ↓ ↓ ↓
3、命令行搜索欧洲杯足球宝贝
linux会在命令行搜索并保存 足球宝贝的搜索结果
#我们看看都搜到了什么
[root@harbortmp]#google-chrome--no-sandbox--headless--disable-gpu
--screenshothttps://www.baidu.com/s?wd=%E8%B6%B3%E7%90%83%E5%AE%9D%E8%B4%9D
[0615/170830.274431headless_browser_main_parts.cc(106)]CannotcreatePrefServicewithnouserdatadir.
[0615/170830.329462gpu_init.cc(440)]Passthroughisnotsupported,GLisswiftshader
[0615/170831.542038headless_shell.cc(648)]Writtentofilescreenshot.png.
4、在命令行打开抖音直播页面 是这样的

六、linux上使用百度搜索
1、搜索命令
[root@localhosttmp]#google-chrome-stable--no-sandbox--headless--disable-gpu
--dump-domhttps://www.baidu.com/
2、直接访问,看结果
审核编辑 :李倩
-
Linux
+关注
关注
87文章
11362浏览量
210960 -
Shell
+关注
关注
1文章
367浏览量
23520
原文标题:Linux 系统上刷抖音是一种什么样的体验?
文章出处:【微信号:浩道linux,微信公众号:浩道linux】欢迎添加关注!文章转载请注明出处。
发布评论请先 登录
相关推荐
想做一个采集设备,请问选用什么样的ADC和DAC合适?
什么样的电阻柜用于风电光伏项目
Linux系统中shell命令解析
探索防抖光电云台无刷马达驱动方案的技术奥秘

代码整洁之道-大师眼中的整洁代码是什么样

音圈电机是脉冲控制吗
介绍一种嵌入式Linux中的录音降噪方案
RADIO与RFWAKEUP具体功能是什么样的,如何把系统从低功耗模式唤醒的?
抖音严打不当虚拟人物AI生成行为,优化平台生态环境
低功耗蓝牙如果使用OpenThread协议,通过什么样的方式,可以和电脑上的上位机进行通信?
介绍一种OpenAtom OpenHarmony轻量系统适配方案

评论