Skip to content

Commit

Permalink
init action
Browse files Browse the repository at this point in the history
  • Loading branch information
nghuyong committed Feb 15, 2024
1 parent d4596f8 commit 439ca71
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
File renamed without changes
File renamed without changes
18 changes: 18 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [ push ]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<br>
<img src="./.github/weibospider.png" width="400"/>
<img src=".github/images/weibospider.png" width="400"/>
<br>
<p>
<p align="center">
Expand Down Expand Up @@ -58,7 +58,7 @@ pip install -r requirements.txt

访问[https://weibo.com/](https://weibo.com/), 登陆账号,打开浏览器的开发者模式,再次刷新

![](.github/cookie.png)
![](.github/images/cookie.png)

复制`weibo.com`数据包,network中的cookie值。编辑`weibospider/cookie.txt`并替换成刚刚复制的Cookie

Expand Down

0 comments on commit 439ca71

Please sign in to comment.