kone
소미소프트

소미소프트

RJ코드 추출해서 클릭하면 바로 이동되는 파이썬 코드

04/15/2026, 11:55:25
유틸
8809 views · 4 likes

방주 올라오는 거 하나씩 입력하기 귀찮아서 만든 코드

필요 프로그램: 파이썬

필요 브라우저: 크롬


1

파일 실행



1

링크가 추출된 사진

저기서 클릭하면 바로 dlsite나 getchu, steam으로 넘어감


import tkinter as tk
from tkinter import scrolledtext, messagebox
import re
import webbrowser

class MultiLinkGenerator:
def __init__(self, root):
self.root = root
self.root.title("링크 생성기")
self.root.geometry("850x700")

self.custom_font = ("Gmarket Sans TTF Medium", 16)

self.label = tk.Label(root, text="코드 입력:", font=self.custom_font)
self.label.pack(pady=15)

self.input_area = scrolledtext.ScrolledText(root, height=8, width=60, font=self.custom_font)
self.input_area.pack(pady=5, padx=20)

self.btn_convert = tk.Button(root, text="모든 링크 추출 및 생성", command=self.extract_and_generate,
bg="#28a745", fg="white", font=self.custom_font, padx=20)
self.btn_convert.pack(pady=15)

self.result_frame = tk.Frame(root)
self.result_frame.pack(fill="both", expand=True, padx=20, pady=10)

self.scrollbar = tk.Scrollbar(self.result_frame)
self.scrollbar.pack(side="right", fill="y")

self.listbox = tk.Listbox(self.result_frame, yscrollcommand=self.scrollbar.set, font=self.custom_font, width=60)
self.listbox.pack(side="left", fill="both", expand=True)
self.scrollbar.config(command=self.listbox.yview)

self.listbox.bind('', self.open_browser)

self.status = tk.Label(root, text="somisoft.", bd=1, relief=tk.SUNKEN, anchor=tk.W, font=("Gmarket Sans TTF Medium", 16))
self.status.pack(side=tk.BOTTOM, fill=tk.X)

def extract_and_generate(self):
raw_text = self.input_area.get("1.0", tk.END)
codes = sorted(list(set(re.findall(r'(RJ\d+|ST\d+|GC\d+)', raw_text))))

self.listbox.delete(0, tk.END)

if not codes:
messagebox.showinfo("알림", "코드 미발견")
return

for code in codes:
prefix = code[:2]
num = code[2:]

if prefix == "RJ":
url = f"https://www.dlsite.com/maniax/work/=/product_id/{code}.html"
elif prefix == "ST":
url = f"https://store.steampowered.com/app/{num}"
elif prefix == "GC":
url = f"https://www.getchu.com/sp/soft.phtml?id={num}"
else:
continue

self.listbox.insert(tk.END, f"[{prefix}] {url}")

self.status.config(text=f"총 {len(codes)}개의 링크 생성 완료.")

def open_browser(self, event):
selection = self.listbox.curselection()
if selection:
full_text = self.listbox.get(selection[0])
url = full_text.split("] ")[1] if "] " in full_text else full_text
self.status.config(text=f"🌐 브라우저 이동: {url}", fg="green")
webbrowser.open(url)

if __name__ == "__main__":
root = tk.Tk()
app = MultiLinkGenerator(root)
root.mainloop()


코드 복사해서 메모장으로 붙여넣기 후 py 파일로 저장

4
1 comment
Poriuretan 동거 1개월
동인
uzaki
05/01 20873 75
Poriuretan 집에서 술마시며 보내는 크리스마스
동인
uzaki
05/01 19835 47
Poriuretan 갸루하고 엘리베이터에 갇혀버렸다
동인
uzaki
05/01 19691 40
Poriuretan 어느 p활 여자
동인
uzaki
05/01 13425 28
Poriuretan 보건실의 선생님
동인
uzaki
05/01 10433 35
Poriuretan 트릭 오어 트릿 2022
동인
uzaki
05/01 11321 52
Poriuretan 쿨한제자
동인
uzaki
05/01 16011 51
[ai번역] RJ01591409 구련휘정 퀄터 아르미네스 & 탄젤
번역
gre0204
05/01 54293 282
[구매보급]【한국어 자막판】 길 잃은 숲에서 폭유 엘프 자매에게 구조되었지만... 결국 잡아먹혔습니다♪
소리
이름뭐하지
05/01 11183 80
Poriuretan 네토라세 입문
동인
uzaki
05/01 12787 42
Poriuretan 제멋대로인 여자친구
동인
uzaki
05/01 10711 46
[요청복구]노예 공주 엘리자
복구
ㅇㅇ
05/01 31986 58
번역) [♀こみ] 마리 인생 종료 최면
동인
cyberse
05/01 19194 55
RJ01613299 번역하는 중
작업현황
norin021
05/01 8510 63
[재업][chalies] 이 자식이! (냥코대전쟁 동인지)
동인
ashgray
05/01 11953 46
구매보급) eGlhb2NodW4= 작가 유부녀섹스파티 1~17
영상
경계선상
05/01 30302 137
Napo 사랑의 랭크 매치
동인
SK
05/01 18198 94
카프카 & 히메코 & 은랑 '섹스 파티'
영상
브레머튼
05/01 16757 99
이젠 vpn 상시로 키는게 디폴트가 되겠네
일반
아나스타샤
05/01 9640 20
mmd 자작영상 공유 2
영상
pst0025
05/01 10622 53
[구매보급, 자체한글번역] 여우 마을의 수호전
번역
saika
05/01 63270 290
AI) 래빗홀 미쿠
야짤
miso5
05/01 10044 100
[Shirabe Shiki] 대음마전에 있어서 감각 차단 부적은 필수 대비책입니다 ① (캐릭터 디자인 변경)
동인
티모
05/01 33114 136
90일, 26.05.02, 1.11 GB) RJ01517134 3D Custom Okazu Maker mono Auto ko.7z
번역
ㅇㅇ
05/01 43472 122
[ai번역] RJ01591409 구련휘정 쿠르타 아르미네스 & 탄젤 EG (1.0.0d) v3(20260503)
번역
mowajelly
05/01 42035 246
[Liyoosa] 도련님께 음문이 새겨진 채 천천히 길들여지는 메이드
동인
요요코코
05/01 23569 136
[복구] pin-point사 작품 6개 ai 번역
복구
karatro
05/01 31081 83
90일) RJ01474906 Tentacle Game v.1.1 mono Auto ko.7z
번역
ㅇㅇ
05/01 33428 130
이와라 차단먹은김에 브픈서버 만들었다
일반
kiffufuf
05/01 8972 32
히카리나이토anomarin9 4월영상
영상
001245
05/01 22978 84