kone
소미소프트

소미소프트

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

04/15/2026, 11:55:25
유틸
8714 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
Joiplay 1.20.611
유틸
o_o
08/30/25 6770 7
검은정복왕 공략
유틸
pqland5051
08/30/25 14430 8
제복 그녀 2.5
유틸
미스터장
08/27/25 6338 25
감옥용사 조이플 구동 패치
유틸
DASL
08/26/25 2032 7
시니시스타2 아헤모드 v3
유틸
cordial
08/24/25 25485 32
쯔꾸르 MV,MZ AI 번역 툴과 그 외 번역에 유용한 툴들 공유 및 사용법 대충 정리
유틸
미스터장
08/22/25 40849 128
시니시스타2 1.1 아헤모드 v2
유틸
cordial
08/18/25 12119 24
유저 차단 스크립트 업데이트 알림
유틸
글쓴이
08/17/25 5203 6
[스팀노모이미지만] BLACK SOULS ~검은 동화와 오마 공주~
유틸
미스터장
08/16/25 4891 17
동인메뉴판 - 동인지 관리 유틸 만들어옴
유틸
qqoro
08/15/25 24202 95
음문이 새겨진 마더 알리시아 ver.1.483 신음 소리 증폭
유틸
shdcd
08/15/25 3458 3
Auto Somi 업데이트
유틸
김머시기
08/11/25 9272 38
유니티 게임 XUnity.AutoTranslator용 폰트모음
유틸
미스터장
08/11/25 7828 12
시니시스타2 1.1 아헤모드
유틸
cordial
08/11/25 13446 30
던전앤브라이드 후기와 상세정보
유틸
positron
08/09/25 11788 13
히토미 다운로더용 케모노 다운로드 스크립트
유틸
글쓴이
08/08/25 19431 20
유니티 자동번역기 유니티6000 tmp 폰트 에셋 번들
유틸
1bvk3b6ka8
08/07/25 4835 11
DLsite 썸네일 원클릭! 다운로더 v0.2.1 (20250806) 스크립트
유틸
Legnax
08/05/25 3877 10
공식AI번역에서 추출한 마인드 류다 이미지번역파일만
유틸
미스터장
08/05/25 4759 19
시니시스타 2 모드 모음(1.10)
유틸
sims9876
08/05/25 9682 15
Joiplay 1.20.600
유틸
o_o
08/05/25 5242 7
DLsite 썸네일 원클릭! 다운로더 v0.1.1 (20250805) 스크립트
유틸
Legnax
08/05/25 3150 6
[버려짐] 던전 앤 브라이드 치트모드 1.44 업데이트 + 번역 모드 대응 버전 출시 *10/15 18:33 수정
유틸
rengester
08/05/25 30020 64
울프툴 3.625 한글화
유틸
brothers
08/03/25 3682 16
사파리 base64 디코딩 단축어
유틸
wjsrlzhs
08/03/25 1995 1
[게임 미포함] 배덕의 충동 v1.2 아랫털 추가 패치
유틸
털털털털털털털털
08/03/25 5382 14
Winlator (엑시노스 구동 가능)
유틸
o_o
08/02/25 14605 16
[버려짐] 내가 직접 만든 던전 앤 브라이드 모드 공유 *치트 기능 추가 08/04 10:03 수정
유틸
rengester
08/02/25 13464 24
update0731 DL + STEAM 미리보기 크롬 확장.
유틸
ddegul
07/30/25 3444 11
거01212155 특전 비밀번호와 수정파일
유틸
커댕이
07/30/25 3166 4