This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import pyautogui as pag | |
import keyboard | |
import numpy as np | |
import time | |
width = 100 | |
bigimg = Image.open('<YOUR FILE>.jpg') | |
img = bigimg.resize((width, int((bigimg.size[1]/bigimg.size[0]) * width))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! 모바일 버젼도 안됨니다ㅠㅠ | |
(() => { | |
const formdata = require("form-data"); | |
const axios = require("axios"); | |
const jsdom = require("jsdom"); | |
const fs = require("fs"); | |
axios.get("https://m.dcinside.com/write/programming").then((e) => { | |
const html = e.data; | |
fs.writeFileSync("./index.html", html); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios'); | |
(async()=>{ | |
const no = 1589538; | |
const data = await axios.get(`https://gall.dcinside.com/board/view/?id=programming&no=${no}`) | |
const cookies = data.headers['set-cookie'].map(e=>e.match(/^[^;]+/)[0]).reduce((a, b) => a + b + '; ', ''); | |
const token = cookies.match(/(?<=(ci_c=))[^;]+/)[0]; | |
const gall_id = 'programming'; |