SShortSingh.
Back to feed

Python-Skript durchsucht Google Patents ohne API-Schlüssel

0
·2 views

Google Patents bietet keine offizielle API, und die kostenlosen offiziellen Schnittstellen wie PatentsView decken nur einzelne Patentämter ab. Die Website lädt ihre Suchergebnisse jedoch über einen JSON-Endpunkt, der normale HTTP-Anfragen ohne Schlüssel beantwortet. Der Artikel zeigt eine Python-Implementierung nur mit der Standardbibliothek, inklusive verfügbarer Filter und der Struktur der Antwort. Die Treffer enthalten HTML-kodierte Texte, die sich mit einem regulären Ausdruck und html.unescape bereinigen lassen. Außerdem erscheinen fremdsprachige Patente mit maschinell übersetzten Titeln, weshalb die Suchbegriffe und Ergebnisse kritisch geprüft werden sollten.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

ffmpeg से वीडियो में सीन कट ढूँढकर उन्हीं बिंदुओं पर फ़ाइलें कैसे बाँटें

एडिट किए वीडियो में कट पहचानने के लिए ffmpeg का scene फ़िल्टर आमतौर पर पर्याप्त माना जाता है, पर यह लेख दो अनसुलझे सवाल उठाता है: सही threshold कैसे चुनें और कटों पर ही फ़ाइलें कैसे बाँटें। लेखक ने ffmpeg के अंदरूनी scoring तरीके को Python में दोबारा बनाकर उसे एक NASA launch वीडियो पर मापा है। विश्लेषण में दिखाया गया है कि showinfo के नतीजे stderr में आते हैं, न कि stdout में। हर फ़्रेम का score उसके और पिछले फ़्रेम के बीच औसत अंतर के बदलाव के आधार पर तय होता है, जिससे कैमरा शेक और असली कट में फ़र्क होता है। Y plane को yuv420p से लेना सटीक नतीजों के लिए ज़रूरी बताया गया है।

0
ProgrammingDEV Community ·

A Beginner's Guide to Reading Google Analytics Without Getting Overwhelmed

A digital marketer from Kerala offers a simplified introduction to Google Analytics for small business owners who find the tool intimidating. The free platform works like a camera inside a shop, revealing visitor counts, traffic origins, page views, and actions taken on a website. The article explains key terms such as users, sessions, traffic sources, engagement, and conversions in plain language. It recommends focusing on five core questions rather than every report, along with checking device type and visitor locations. A brief monthly review routine is suggested to track progress and choose one improvement for the following month.

0
ProgrammingDEV Community ·

LinkDigest reads top Xiaohongshu comments from share links without an account

Xiaohongshu offers no public comments endpoint, and its web page only expands comments after login. The share link copied from the app opens a public page that embeds up to five top comments, each with up to three replies. The LinkDigest service reads these in the same request as the note, requiring no Xiaohongshu account or cookies. The approach is limited: it returns only top comments and reply excerpts, never the full thread or commenter identities. Douyin videos return no comments because their embed player serves none.

0
ProgrammingDEV Community ·

Verifying Warranty Cards On-Chain: A Token-2022 Soulbound Receipt Checker

A repair-shop scenario illustrates the need to confirm whether a customer's warranty card is genuine without relying on screenshots or the holder's word. The article presents a verifier that checks a soulbound Token-2022 card using only public chain data, applying eight checks covering mint ownership, one-of-one supply, non-transferability, metadata location, issuing authority, warranty validity, order matching, and holder ownership. The verifier is a pure function over raw account data, making it reusable in servers, wallets, or agents. It returns every individual check result rather than a simple pass or fail, so staff can see exactly which requirement failed. The author notes the code is an unaudited, devnet-only educational example and that actual warranty decisions still depend on shop policy and consumer law.