TwoOnefour / Libseat

我去图书馆抢票
1 stars 0 forks source link

怎么修改位置信息呢? #1

Closed Guliguhan closed 1 year ago

Guliguhan commented 1 year ago

怎么修改选择的位置呢

TwoOnefour commented 1 year ago

我是先把想要的位置选出来,存放在数组里面,他的数据返回接口回来的数据和实际的座位号对不上的

On Wed, Apr 26, 2023 at 22:35 twoonefour @.***> wrote:

On Wed, Apr 26, 2023 at 22:12 Guliguhan @.***> wrote:

怎么修改选择的位置呢

— Reply to this email directly, view it on GitHub https://github.com/TwoOnefour/Libseat/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM6YCPAXZGKSJ6PM3JGTXDEUL5ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TwoOnefour commented 1 year ago

@Guliguhan 抱歉说错了,这个太久了我忘记了。想要的座位可以通过修改libseat中run()方法,位于Libseat.py的58行和59行,58行是例如第几楼,59行是座位号,我这里是1,2,3,4号

Guliguhan commented 1 year ago

那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛

TwoOnefour commented 1 year ago

那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛

可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。

预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭

Guliguhan commented 1 year ago

那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛

可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。

预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭

emmm 大佬可以帮忙看看预约怎么实现吗 我抓包后不知道怎么模拟这个请求😭

TwoOnefour commented 1 year ago

你可以在这预约抓包的请求,我可以帮你看看

On Wed, Apr 26, 2023 at 23:05 Guliguhan @.***> wrote:

那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛

可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。

预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭

emmm 大佬可以帮忙看看预约怎么实现吗 我抓包后不知道怎么模拟这个请求😭

— Reply to this email directly, view it on GitHub https://github.com/TwoOnefour/Libseat/issues/1#issuecomment-1523579370, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you commented.Message ID: @.***>

Guliguhan commented 1 year ago

你可以在这预约抓包的请求,我可以帮你看看 On Wed, Apr 26, 2023 at 23:05 Guliguhan @.> wrote: 那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛 可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。 预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭 emmm 大佬可以帮忙看看预约怎么实现吗 我抓包后不知道怎么模拟这个请求😭 — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you commented.Message ID: @.>

大佬可以留个联系方式嘛

TwoOnefour commented 1 year ago

tg和邮箱吧,我一般都秒回的

On Thu, Apr 27, 2023 at 09:23 Guliguhan @.***> wrote:

你可以在这预约抓包的请求,我可以帮你看看 … <#m-7190235075758248444> On Wed, Apr 26, 2023 at 23:05 Guliguhan @.> wrote: 那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛 可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。 预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭 emmm 大佬可以帮忙看看预约怎么实现吗 我抓包后不知道怎么模拟这个请求😭 — Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/TwoOnefour/Libseat/issues/1#issuecomment-1523579370>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you commented.Message ID: @.>

大佬可以留个联系方式嘛

— Reply to this email directly, view it on GitHub https://github.com/TwoOnefour/Libseat/issues/1#issuecomment-1524378281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM67SFA3IF3OZBPEQDMTXDHDC7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TwoOnefour commented 1 year ago

@.*** Telegram https://t.me/Twoonefour1

On Thu, Apr 27, 2023 at 09:27 twoonefour @.***> wrote:

tg和邮箱吧,我一般都秒回的

On Thu, Apr 27, 2023 at 09:23 Guliguhan @.***> wrote:

你可以在这预约抓包的请求,我可以帮你看看 … <#m_-6794575443939981028m-7190235075758248444_> On Wed, Apr 26, 2023 at 23:05 Guliguhan @.> wrote: 那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛 可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。 预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭 emmm 大佬可以帮忙看看预约怎么实现吗 我抓包后不知道怎么模拟这个请求😭 — Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/TwoOnefour/Libseat/issues/1#issuecomment-1523579370>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you commented.Message ID: @.>

大佬可以留个联系方式嘛

— Reply to this email directly, view it on GitHub https://github.com/TwoOnefour/Libseat/issues/1#issuecomment-1524378281, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM67SFA3IF3OZBPEQDMTXDHDC7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TwoOnefour commented 1 year ago

你可以在这预约抓包的请求,我可以帮你看看 On Wed, Apr 26, 2023 at 23:05 Guliguhan @.**> wrote: 那这个代码现在已经不行了咩 这个代码可以实现明日预约的功能嘛 可以使用的,需要在使用之前传入自己的Authorization,通过抓包获取,可以遍历一次自己的座位,一个小时内通过crontab可以循环运行。 预约的话我暂时没实现,因为我们是提前2小时预定,8点开馆,我起不来那么早😭 emmm 大佬可以帮忙看看预约怎么实现吗 我抓包后不知道怎么模拟这个请求😭 — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTAM6YER5UPSRHIXC2HJRDXDE2S7ANCNFSM6AAAAAAXMQCPHA . You are receiving this because you commented.Message ID: @.**>

大佬可以留个联系方式嘛

lys214412@gmail.com

TwoOnefour commented 1 year ago

最好用tg,不过没差我都能秒回 @Guliguhan

TwoOnefour commented 1 year ago

不发qq和微信是因为很少用,没开消息提醒,请不要在意