Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 1.43 KB

AboutTheFiles.md

File metadata and controls

72 lines (49 loc) · 1.43 KB

ABOUT.md

All the files are present in ./core

full_playlist_downloader.sh

  • Script for downloading all the topics available in Topic_list.url
    chmod 777 ./full_playlist_downloader.sh
    ./full_playlist_downloader.sh Topic_list.url

Files Involved:

  • playlist_downloadr.sh

playlist_downloader.sh

  • Main Script for Selected Topic download
  • Scrapes the content from the topic

Input: Topic URL (found in Toplic_list.url)

    chmod 777 ./playlist_downloader.sh
    playlist_downloaded.sh <topic_url>

Files Involved:

  • scrape_via_login.py
  • scrape_content_url.py
  • scrape_list_via_login.py

curl_script.sh

  • Download script
  • Uses cURL for downloading the video
  • Reads command-line-input from the <input_file>
    chmod 777 ./curl_script.sh
    ./curl_script.sh <input_file>

scrape_content_urls.py [INTERNAL FILE]

  • Scrapes the URL for the videos
  • Uses Beautilful Soup4 for the python3 scraping module

scrape_via_login.py [INTERNAL FILE]

  • Scrapes the single Resourse Download URL (CDN link)
  • Uses Login Payload Credentials
  • Change them before use
    • USERNAME (email)
    • PASSWORD
    • SCHOOLID

scrape_list_via_login.py [INTERNAL FILE]

  • Scrapes the all Download URL (CDN link)
  • Uses Login Payload Credentials
  • Change them before use
    • USERNAME (email)
    • PASSWORD
    • SCHOOLID

Topic_list.url [VITAL, NON-RECOVERABLE]

  • Contains list of the Topics avaliable and their URLS