Skip to content

Instantly share code, notes, and snippets.

View thedtvn's full-sized avatar

The DT thedtvn

View GitHub Profile
@thedtvn
thedtvn / download_pdf_drive.py
Last active March 10, 2024 13:25
download pdf from drive drive that block download
import io
import re
import json
import requests
import demjson3
from PIL import Image
import urllib.parse as parse
file = input("file url: ")
@thedtvn
thedtvn / down_pdf_onedrive.py
Last active March 10, 2024 13:26
download pdf onedrive that block download
import json
import re
import requests
from urllib.parse import urlparse, parse_qs
file = input("File url: ")
def custom_url_encode(input_string):
encoded_string = ""