Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3a8abaa
⚙️ Fixes in current position
HalaHamdi Jul 24, 2025
a1056e9
⊕ Adding Github Action
HalaHamdi Jul 24, 2025
21ac3ef
Github Action Run on Push
HalaHamdi Jul 24, 2025
e4f9c12
Testing Github Action push
HalaHamdi Jul 25, 2025
ffd1a24
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
87f91e2
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
5d86771
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
078ffd7
chore: update LinkedIn profiles and summaries
actions-user Jul 25, 2025
db598a4
Github Action on All Classes
HalaHamdi Jul 25, 2025
2948e0c
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
e874223
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
5c06b9e
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
1d8e669
chore: update LinkedIn profiles and summaries
actions-user Jul 25, 2025
df39a63
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
547631a
chore: update LinkedIn profiles and summaries
actions-user Jul 25, 2025
1eca9a0
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
e041267
Merge branch 'linkedin-scrapper-fixes' of https://github.com/HalaHamd…
HalaHamdi Jul 25, 2025
2151662
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
ee34502
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
3184424
Update linkedin-scrapper.yaml
HalaHamdi Jul 25, 2025
497af59
chore: update LinkedIn profiles and summaries
actions-user Jul 25, 2025
7e80e01
Update final_linkedin_script.py
HalaHamdi Jul 25, 2025
06cfe77
Merge branch 'linkedin-scrapper-fixes' of https://github.com/HalaHamd…
HalaHamdi Jul 25, 2025
f7e6266
chore: update LinkedIn profiles and summaries
actions-user Jul 25, 2025
e735c41
Remove Github Action on on Push
HalaHamdi Jul 25, 2025
5395534
✨ Choose one class randomly every two days.
HalaHamdi Aug 3, 2025
195fda0
🏃🏽Trigger on Push
HalaHamdi Aug 3, 2025
90b81dc
⚙️ Attempt action fix
HalaHamdi Aug 3, 2025
5975ebc
chore: update LinkedIn profiles and summaries
actions-user Aug 3, 2025
2c80a14
⚙️ Attempt fix
HalaHamdi Aug 3, 2025
a12a331
Merge branch 'linkedin-scrapper-fixes' of https://github.com/HalaHamd…
HalaHamdi Aug 3, 2025
b4d8eab
chore: update LinkedIn profiles and summaries
actions-user Aug 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/linkedin-scrapper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Run LinkedIn Scraper

on:
schedule:
- cron: '0 0 */2 * *'
workflow_dispatch:
push:

jobs:
scrape_and_commit:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r scripts/linkedin-scraper/requirements.txt

- name: Create cookies.json from secret
run: |
echo '${{ secrets.LINKEDIN_COOKIES_JSON }}' > ./scripts/linkedin-scraper/cookies.json

- name: List matching YAML files
run: |
echo "Found the following C20xx files in public/department/Extras/Classes (random order):"
ls public/department/Extras/Classes/ | grep -E '^C20[0-9]{2}(_Credit)?\.yaml$' | shuf


- name: Run LinkedIn scraper for one random class YAML file
run: |
set -e
file=$(find public/department/Extras/Classes/ -maxdepth 1 -type f \( -name 'C20[0-9][0-9]_Credit.yaml' -o -name 'C20[0-9][0-9].yaml' \) | shuf -n 1)
echo "Running scraper for $file"
python scripts/linkedin-scraper/final_linkedin_script.py "$file" || echo "Error running scraper for $file, continuing..."


- name: Commit and push changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add -A
git diff --cached --quiet || git commit -m "chore: update LinkedIn profiles and summaries"
git push
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/node_modules
/.pnp
.pnp.js

cookies.json
# testing
/coverage

Expand Down
176 changes: 92 additions & 84 deletions public/department/Extras/Classes/C2020.yaml

Large diffs are not rendered by default.

176 changes: 92 additions & 84 deletions public/department/Extras/Classes/C2020_ar.yaml

Large diffs are not rendered by default.

227 changes: 118 additions & 109 deletions public/department/Extras/Classes/C2021.yaml

Large diffs are not rendered by default.

227 changes: 118 additions & 109 deletions public/department/Extras/Classes/C2021_ar.yaml

Large diffs are not rendered by default.

517 changes: 258 additions & 259 deletions public/department/Extras/Classes/C2023.yaml

Large diffs are not rendered by default.

517 changes: 258 additions & 259 deletions public/department/Extras/Classes/C2023_ar.yaml

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions public/department/Extras/Classes/C2024_Credit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@
linkedin_url: https://www.linkedin.com/in/habiba-hassan-elhussieny-815988231
markdown: You can know more about Habiba and reach her out by visiting her [LinkedIn]()
and [GitHub](https://github.com/HabibaHassan02) profile.
title: Fresh Graduate | Computer Engineer
top_skills: null
current_position: null
title: 'Software Engineer '
top_skills: NumPy, TensorFlow, PyTorch, Game Development
current_position: Software Engineer, Edafa Telecom Solutions · Aug 2023 - Present
10 mos
- name: Hossam Nabeil
image: null
markdown: This is one fantastic CCEC student
Expand All @@ -114,12 +115,12 @@
top_skills: null
current_position: null
- name: Khaled Mamdouh
image: https://media.licdn.com/dms/image/v2/D4D35AQHDhv-nvKF1vQ/profile-framedphoto-shrink_200_200/profile-framedphoto-shrink_200_200/0/1725544612384?e=1726992000&v=beta&t=j0HETKgKg6rUncflrThvCsZTfseWk5hZQJuWXZKQSOs
image: https://media.licdn.com/dms/image/v2/C4D03AQFs7ESzlXCQTQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1635702211865?e=1756339200&v=beta&t=cbXJaLnkN3bgI_zaorAHsxP04lKBfsOQdk2MxVWwRhg
linkedin_url: https://www.linkedin.com/in/khalidmamdou7/
markdown: You can know more about Khaled and reach him out by visiting his [LinkedIn]()
and [GitHub](https://github.com/khalidmamdou7) profile.
title: Computer Engineering Graduate of Cairo University
top_skills: null
title: Software Engineer
top_skills: Argo, Amazon Web Services (AWS), Microsoft SQL Server, Teaching
current_position: null
- name: Donia Remah
image: null
Expand Down
13 changes: 7 additions & 6 deletions public/department/Extras/Classes/C2024_Credit_ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@
linkedin_url: https://www.linkedin.com/in/habiba-hassan-elhussieny-815988231
markdown: يمكنك معرفة المزيد عن حبيبة والتواصل معها عبر زيارة [صفحتها على LinkedIn]()
و[GitHub](https://github.com/HabibaHassan02).
title: Fresh Graduate | Computer Engineer
top_skills: null
current_position: null
title: 'Software Engineer '
top_skills: NumPy, TensorFlow, PyTorch, Game Development
current_position: Software Engineer, Edafa Telecom Solutions · Aug 2023 - Present
10 mos
- name: حسام نبيل
image: null
markdown: طالب/ة في قسم الحاسبات بنظام الساعات المعتمدة
Expand All @@ -112,12 +113,12 @@
top_skills: null
current_position: null
- name: خالد ممدوح
image: https://media.licdn.com/dms/image/v2/D4D35AQHDhv-nvKF1vQ/profile-framedphoto-shrink_200_200/profile-framedphoto-shrink_200_200/0/1725544612384?e=1726992000&v=beta&t=j0HETKgKg6rUncflrThvCsZTfseWk5hZQJuWXZKQSOs
image: https://media.licdn.com/dms/image/v2/C4D03AQFs7ESzlXCQTQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1635702211865?e=1756339200&v=beta&t=cbXJaLnkN3bgI_zaorAHsxP04lKBfsOQdk2MxVWwRhg
linkedin_url: https://www.linkedin.com/in/khalidmamdou7/
markdown: يمكنك معرفة المزيد عن خالد والتواصل معه عبر زيارة [صفحته على LinkedIn]()
و[GitHub](https://github.com/khalidmamdou7).
title: Computer Engineering Graduate of Cairo University
top_skills: null
title: Software Engineer
top_skills: Argo, Amazon Web Services (AWS), Microsoft SQL Server, Teaching
current_position: null
- name: دنيا رماح
image: null
Expand Down
Loading