Skip to content

Instantly share code, notes, and snippets.

View Facenapalm's full-sized avatar

Anton Facenapalm

  • MSU
  • Moscow, Russia
View GitHub Profile
@Facenapalm
Facenapalm / metacriticgrabber.py
Created January 8, 2022 03:21
Metacritic video game lists grabber for usage in Wikipedias
# Copyright (c) 2021 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / igdb_extract_numeric.py
Last active April 13, 2022 02:21
Wikidata bot that fills IGDB numeric ID (P9043) based on IGDB ID (P5794).
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / ogdb_extract_country.py
Last active April 13, 2022 02:19
Wikidata bot that fills Country of origin (P495) based on OGDB ID (P7564).
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / steam_parser.py
Last active September 9, 2022 11:35
Wikidata bot that fills and creates items based on Steam pages
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / uvl_extract_platform.py
Last active April 13, 2022 11:55
Wikidata bot that adds platform (P400) qualifier to UVL game ID (P7555) claims.
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / rawg_seek_id.py
Last active July 10, 2022 21:06
Wikidata bot that connects Wikidata items with RAWG database and fills external IDs based on RAWG
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / lutris_seek_id.py
Last active July 10, 2022 21:07
Wikidata bot that connects Wikidata items with Lutris database and fills external IDs based on Lutris
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / mss_extract_platform.py
Created July 8, 2022 20:01
Wikidata bot that adds platform (P400) qualifier to Microsoft Store ID (P5885) claims
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / mailru_seek_id.py
Last active July 10, 2022 20:25
Wikidata bot that connects Wikidata items with Games@Mail.ru database based on matching link to Steam store
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
@Facenapalm
Facenapalm / hltb_seek_id.py
Last active July 21, 2022 21:15
Wikidata bot that connects Wikidata items with HowLongToBeat database based on matching link to Steam store
# Copyright (c) 2022 Facenapalm
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all