kone
소미소프트

소미소프트

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

04/15/2026, 11:55:25
유틸
8710 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
포레스티아 1.3.2 회상룸 강제 개방
유틸
how-72
01/30 8426 6
RPG MV 실시간 번역기 설치가이드
유틸
mrpls
01/30 19655 17
RPG MV/MZ 실시간 번역기 1.6 - 프린세스 시너지 업데이트
유틸
mrpls
01/30 22429 34
엄크 방지 프로그램
유틸
cloud
01/29 23795 42
MVZ 플러그인) DarkPlasma_AutoLineBreak.js + MPP_MessageEX_AutoLineBreak_Patch.js + VisuMZ_1_MessageCore.js
유틸
ㅇㅇ
01/29 6340 5
[수정2] 안 돼! 동거 라이프 v1.11 치트파일
유틸
kts
01/29 13747 24
시니시스타 2 1.2.1 모드 총집편 + 추가 노모화
유틸
sims9876
01/28 29850 79
동거라이프 스테이터스 창 안닫히는거 우회
유틸
kts
01/27 8133 14
EZ + Ehnd 미포함) MVZ 자동 번역 + EZ서버(+ 기본 파일) + 언팩 툴
유틸
ㅇㅇ
01/25 19745 18
SEED OF THE DEAD 2 모자이크 제거패치+본편 진행도100% 세이브
유틸
귤뽁
01/24 22866 34
master 폴더 개선) RJ01144461 [むねにくたべたい] 폐급 스트리머 미라이짱~엣치한 코멘트 접수중~
유틸
ㅇㅇ
01/22 12048 10
RJ01209336 반찬 어플 소문 메모 버그 수정
유틸
daraaa
01/22 7147 9
RJ01168428 초보 가출 소녀와 나【다국어 버전】 RunawayGirl-Ver1.06 (일부노모)
유틸
류제로
01/21 15228 45
MVMZ 정규식으로 필요한 파일 위치 찾기(공통 이벤트, 변수)
유틸
ㅇㅇ
01/20 5103 3
방주 RJ중복 찾기
유틸
봇치
01/20 6621 11
MV 플러그인: ParallaxLayerMap.js
유틸
ㅇㅇ
01/19 6191 6
던전 위드 걸 1.1.3 AI 노모
유틸
물크스
01/19 17561 63
홍련사주 퓨어 엘레멘츠 치트 플러그인 적용 방법
유틸
sucksucke
01/19 8823 11
MV 플러그인: TemplateEvent.js
유틸
ㅇㅇ
01/18 4918 2
MV 플러그인: HIME_GameOverEvents.js
유틸
ㅇㅇ
01/18 7134 4
RJ01154724 이세계 환생 매지컬 자지 완전판 노모패치(DLC포함)
유틸
류제로
01/17 27963 83
MV 플러그인: HalfMove.js
유틸
ㅇㅇ
01/17 7656 4
요청 개조) RJ01509483 아스테라 사가 체력바 추가 플러그인.7z
유틸
ㅇㅇ
01/15 4254 12
RPG-Maker-MV-MZ-Cheat 에서 숫자가 잘 안먹힐 때에 (예시: 언홀리 메이든)
유틸
cybuster
01/15 10187 25
MV 플러그인: MPP_ChoiceEX.js
유틸
ㅇㅇ
01/14 3902 5
RPG MV/MZ 치트 플러그인 개조 버전 v3.0
유틸
4HHHH
01/13 12800 20
🔞슬레이 더 스파이어 NSFW 아이언클래드 및 기타 카드
유틸
Rasmodia
01/12 33621 34
참고용 ai 프롬프트(이미지) 모음
유틸
urakan915
01/11 12249 18
개조를 위한 모음(img, battlebacks1, enemies, Picture)
유틸
ㅇㅇ
01/10 5807 7
🔞 슬레이 더 스파이어 NSFW 이벤트 및 휴식 리텍스쳐
유틸
Rasmodia
01/09 14025 37